/* CSS Reset & Variables - HIGH-CLASS LIGHT THEME */
:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --gold: #d4af37;
    --light: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #f1f5f9;
    --dark: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 35px 60px -15px rgba(0, 0, 0, 0.12);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-gray);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-align: center;
}

h2 {
    font-size: clamp(2.8rem, 7vw, 4rem);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

p {
    color: var(--text);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.2);
    font-family: 'Poppins', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-secondary:hover {
    color: white;
}

.btn-aggressive {
    background: linear-gradient(135deg, var(--gold), var(--accent));
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.3rem 3rem;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 25px 50px rgba(212, 175, 55, 0.6); }
}

/* Cards */
.premium-card {
    background: var(--light);
    border-radius: 28px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--gold));
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.premium-card:hover::before {
    width: 10px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
}

.page-hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(248, 250, 252, 0.9) 100%);
    text-align: center;
    padding: 10rem 0 5rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-value-prop {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 2rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Playfair Display', serif;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto;
}

.hero-image {
    width: 220px;
    height: 220px;
    margin: 2rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Trust Signals */
.trust-signals {
    background: var(--light);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-container {
    text-align: center;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.client-logo {
    height: 35px;
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.service-features li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    overflow: hidden;
    padding: 0;
}

.portfolio-img {
    height: 180px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-tech {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-features {
    list-style: none;
    margin: 1rem 0;
}

.portfolio-features li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    padding-left: 1.2rem;
    position: relative;
}

.portfolio-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.portfolio-links {
    margin-top: 1rem;
}

.portfolio-links .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.testimonial-rating {
    color: var(--gold);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--light);
    border-radius: 28px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--gold);
    transform: scale(1.02);
}

.price-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--gold);
    color: white;
    padding: 0.3rem 2rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 1rem 0;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.best-for {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-webapp {
    margin-top: 3rem;
    text-align: center;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 20px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.contact-text p {
    font-size: 1rem;
    margin: 0;
}

.contact-form .premium-card {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem;
}

.spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(30, 64, 175, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: white;
}

.cta-section h2::after {
    background: linear-gradient(90deg, white, var(--gold));
}

.cta-section p {
    color: white;
}

.stats-mini {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-mini-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.stat-mini-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 25px 50px rgba(37, 211, 102, 0.4); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Footer */
footer {
    background: var(--light);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid var(--border);
    text-decoration: none;
}

.social-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .container, .nav-container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    .hero-value-prop {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: var(--transition);
        border-left: 1px solid var(--border);
        z-index: 999;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .services-grid, .portfolio-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .page-hero {
        padding-top: 7rem;
    }
    
    .hero-image {
        width: 180px;
        height: 180px;
    }
    
    .cta-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .trust-stats {
        gap: 1.5rem;
    }
    
    .stats-mini {
        gap: 1.5rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container, .nav-container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-value-prop {
        font-size: 1.3rem;
    }
    
    .premium-card, .pricing-card {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}