:root {
    --primary-hue: 354;
    --primary-sat: 85%;
    --primary-light: 50%;
    
    --c-primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
    --c-primary-dark: hsl(var(--primary-hue), var(--primary-sat), 40%);
    --c-primary-soft: hsl(var(--primary-hue), var(--primary-sat), 95%);
    
    --c-dark: #0f172a;
    --c-light: #f8fafc;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--c-dark);
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--c-primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Global Section Padding */
:root {
    --section-padding-desktop: 100px;
    --section-padding-mobile: 60px;
}

.section-padding {
    padding-top: var(--section-padding-desktop);
    padding-bottom: var(--section-padding-desktop);
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: var(--section-padding-mobile);
        padding-bottom: var(--section-padding-mobile);
    }

    .about-box {
        border-left: none;
        border-top: 5px solid var(--c-primary);
    }
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 35px;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Tech Light Hero Section */
/* Tech Light Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: calc(70px + 3vh); 
    padding-bottom: 3vh;
    background: url('../images/hero_bg_tech.png') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--c-dark);
    text-align: center;
}

/* Light Overlay for Readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-tagline {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-primary);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(220, 53, 69, 0.15);
    border-radius: 50px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(5px);
}

/* Clean Minimal Price */
.hero-price-wrapper {
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 2rem;
    position: relative;
    padding: 0;
    box-shadow: none;
    border: none;
    animation: none; 
}

.hero-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--c-primary);
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.hero-price-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--c-dark);
    letter-spacing: -0.04em;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.hero-price-period {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
    letter-spacing: normal;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    background: linear-gradient(120deg, var(--c-primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Hero Cards Row */
.hero-stats-row {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.hero-stat-item {
    color: var(--c-dark);
}

.hero-stat-icon {
    font-size: 1.4rem;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.hero-stat-item:hover .hero-stat-icon {
    transform: translateY(-5px);
}

.hero-stat-text {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ... existing animation code ... */

/* Premium CTA Section */
.cta-section {
    background: #fff;
    position: relative;
    padding-top: var(--section-padding-desktop);
    padding-bottom: var(--section-padding-desktop);
}

@media (max-width: 768px) {
    .cta-section {
        padding-top: var(--section-padding-mobile);
        padding-bottom: var(--section-padding-mobile);
    }
}

/* ... existing cta card style ... */

/* About Section Separator */
.about-separator {
    border-left: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
    .about-separator {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-top: 2rem;
        margin-top: 1rem;
    }
}

/* Footer Polish */
footer {
    background: #fff !important;
    color: var(--c-dark) !important;
    border-top: 1px solid #f1f5f9;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    footer {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Buttons */
.btn-primary-gradient {
    background: var(--c-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    background: var(--c-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.2);
    color: white;
}

/* Global Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.2); }
    70% { box-shadow: 0 0 0 15px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* Cleaned up legacy styles to prevent conflict */

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: float 10s ease-in-out infinite;
}

.shape-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.1) 0%, rgba(255,255,255,0) 70%);
}

.shape-2 {
    bottom: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(50, 50, 200, 0.05) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -5s;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-card-visual {
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Enhanced About Section */
.about-box {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.about-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 10rem;
    color: var(--c-primary);
    opacity: 0.05;
    font-family: serif;
    line-height: 1;
}

/* Clean Professional Process Section */
.process-wrapper {
    position: relative;
    padding-top: 20px;
}

.process-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 2.5rem;
    border-radius: 16px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    text-align: left; /* Switch to left align for professionalism */
    overflow: hidden;
}

.process-card:hover {
    border-color: var(--c-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.process-step-badge {
    display: inline-block;
    background: var(--c-primary-soft);
    color: var(--c-primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.process-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--c-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    background: var(--c-primary);
    color: white;
    border-color: var(--c-primary);
}

.process-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.process-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Subtle connector line on desktop */
.process-connector {
    display: none;
}
@media (min-width: 992px) {
    .process-connector {
        display: block;
        position: absolute;
        top: 25%;
        left: 0;
        right: 0;
        height: 1px;
        background: repeating-linear-gradient(to right, #cbd5e1 0, #cbd5e1 5px, transparent 5px, transparent 10px);
        z-index: 0;
        transform: translateY(-50%);
    }
}

/* Professional Delivery & Value */
.delivery-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 0; /* Content padding handled inside */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    height: 100%;
    transition: transform 0.3s ease;
}

.delivery-card:hover {
    transform: translateY(-5px);
}

.delivery-header {
    background: #fff;
    padding: 3rem 3rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.delivery-body {
    padding: 2rem 3rem 3rem;
}

/* Perfect Section Headers */
.perfect-header .sub-title {
    color: var(--c-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.8rem;
}

.perfect-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-dark);
    line-height: 1.2;
    margin-bottom: 0;
}

.term-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #f1f5f9;
}

.term-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.term-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.1); /* light green */
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.why-box {
    padding: 2rem;
    border-radius: 20px;
    background: white;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.why-box:hover {
    background: #fff;
    border-color: #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: #fff5f5;
    color: var(--c-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.use-case-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.use-case-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: var(--c-primary);
}

.use-case-icon {
    width: 50px;
    height: 50px;
    background: var(--c-primary-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--c-primary);
    flex-shrink: 0;
}

/* Feature Cards Enhanced */
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.feature-card:hover {
    border-color: rgba(220, 53, 69, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-8px);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotateY(180deg);
}

/* Button Pulse */
.btn-pulse {
    animation: pulse-soft 2s infinite;
}

/* Cleaned up legacy CTA */

.cta-card-premium {
    background: linear-gradient(135deg, #020617 0%, #1e293b 100%);
    border-radius: 32px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.cta-card-premium::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.cta-content-wrapper {
    position: relative;
    z-index: 1;
}

.cta-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
}

/* Cleaned up legacy footer */

/* Utilities */
.tracking-tight {
    letter-spacing: -0.04em;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.bg-soft-primary {
    background-color: var(--c-primary-soft);
}

.text-primary-dark {
    color: var(--c-primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: auto;
        padding-bottom: 3rem;
    }
    
    .cta-card-premium {
        padding: 3rem 1.5rem;
    }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    animation: float-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.whatsapp:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.float-btn.phone {
    background: var(--c-primary);
}

.float-btn.phone:hover {
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
}

/* Tooltip on hover */
.float-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.float-btn:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    /* Consistent Mobile Padding */
    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* Mobile Typography Adjustments */
    .hero-title {
        font-size: 2.2rem; /* Even smaller for better fit */
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-price-amount {
        font-size: 2.5rem; 
    }
    
    .hero-price-wrapper {
        margin-bottom: 1.5rem; /* Less space below price */
    }

    h2.display-6, h2.display-5 {
        font-size: 1.8rem; 
    }

    /* Spacing & Layout */
    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    /* Hero Responsive Height */
    .hero-section {
        min-height: auto; /* Allow flexible height on mobile */
        padding-top: 100px; /* Clear fixed navbar */
        padding-bottom: 3rem;
    }

    .hero-stats-row {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .hero-stat-text {
        font-size: 0.7rem; /* Smaller text for stats */
    }
    
    .hero-stat-icon {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    /* Hero Content Specific Mobile Padding */
    .hero-content {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    /* Hide Tagline on Mobile */
    .hero-tagline {
        display: none;
    }

    /* Full Width Buttons on Mobile */
    .hero-content .btn {
        width: 100%;
        display: block;
        margin-bottom: 0rem;
    }
    
    .hero-content .d-flex.flex-sm-row {
        flex-direction: column;
        width: 100%;
    }

    /* Card Spacing when Stacked */
    .feature-card, .process-card, .delivery-card, .why-box {
        margin-bottom: 1.5rem;
    }

    /* Last item shouldn't have margin */
    .col-lg-4:last-child .feature-card,
    .col-lg-4:last-child .process-card {
        margin-bottom: 0;
    }
    
    /* Delivery Card Mobile */
    .delivery-header, .delivery-body {
        padding: 1.5rem; /* Tighter padding for mobile cards */
    }

    /* Why Box Mobile Padding */
    .why-box {
        padding: 1rem;
    }

    /* Feature Card Mobile Padding */
    .feature-card {
        padding: 1.5rem;
    }
}
