:root {
    --primary-color: #2563EB; /* Blue 600 */
    --primary-hover: #1D4ED8; /* Blue 700 */
    --primary-light: #3B82F6; /* Blue 500 */
    --secondary-color: #60A5FA; /* Blue 400 */
    --text-color: #0F172A; /* Slate 900 */
    --text-muted: #64748B; /* Slate 500 */
    --bg-color: #F8FAFC; /* Slate 50 */
    --card-bg: #ffffff;
    --accent-color: #10B981; /* Emerald 500 */
    --accent-hover: #059669; /* Emerald 600 */
    --gradient-start: #2563EB;
    --gradient-end: #60A5FA;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 80px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1001;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--text-color);
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
    background-color: #f8fafc;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    background: radial-gradient(circle at 50% 0%, #EFF6FF 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-color);
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: white;
    color: var(--primary-color);
    border: 1px solid #BFDBFE;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
}

/* 3D Visual Element */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perspective-container {
    perspective: 1200px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-3d {
    width: 100%;
    max-width: 550px;
    height: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 
        0 20px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: rotateY(-12deg) rotateX(8deg);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-3d:hover {
    transform: rotateY(-8deg) rotateX(4deg) translateY(-10px);
}

.card-header {
    padding: 12px 16px;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.address-bar {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 10px;
    color: #94A3B8;
    flex: 1;
    text-align: center;
    margin-left: 12px;
}

.card-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.sidebar-mock {
    width: 60px;
    border-right: 1px solid #F1F5F9;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: #FAFAFA;
}

.sidebar-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #E2E8F0;
}

.sidebar-item.active {
    background: var(--primary-color);
}

.content-mock {
    flex: 1;
    padding: 24px;
    background: #FFFFFF;
}

.header-mock {
    height: 24px;
    width: 120px;
    background: #E2E8F0;
    border-radius: 6px;
    margin-bottom: 24px;
}

.stats-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    flex: 1;
    height: 60px;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    border-radius: 8px;
}

.chart-mock {
    height: 100px;
    background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    margin-bottom: 24px;
    position: relative;
}

.chart-mock::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0 20 L0 10 Q10 5 20 12 T40 10 T60 15 T80 5 T100 12 L100 20 Z" fill="%23BFDBFE" opacity="0.4"/></svg>');
    background-size: cover;
}

.list-mock {
    border: 1px solid #F1F5F9;
    border-radius: 8px;
    padding: 12px;
}

.list-header {
    height: 12px;
    width: 80%;
    background: #E2E8F0;
    border-radius: 4px;
    margin-bottom: 12px;
}

.list-item {
    height: 8px;
    width: 100%;
    background: #F8FAFC;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Floating Elements */
.float-card {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
    z-index: 20;
    border: 1px solid #F1F5F9;
}

.float-1 {
    top: 40px;
    right: -20px;
    transform: translateZ(40px);
}

.float-2 {
    bottom: 60px;
    left: -30px;
    animation-delay: 2s;
    transform: translateZ(60px);
}

.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.icon-box.success { background: #10B981; }
.icon-box.primary { background: #2563EB; }

.float-label { font-size: 10px; color: #64748B; font-weight: 600; text-transform: uppercase; }
.float-value { font-size: 14px; color: #0F172A; font-weight: 700; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateZ(50px); }
    50% { transform: translateY(-15px) translateZ(50px); }
}


/* Other Sections */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    font-weight: 800;
}

/* Payment/How it Works */
.payment-section {
    padding: 6rem 0;
    background-color: white;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

.step-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1.25rem;
}

/* Why Kavach */
.why-kavach {
    padding: 6rem 0;
    background-color: #F8FAFC;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #E2E8F0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background-color: #EFF6FF;
    color: var(--primary-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

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

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-accent {
    background: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.cta .btn-accent:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: #F8FAFC;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
}

.contact-info {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 1.125rem;
    font-weight: 500;
}

.contact-form {
    padding: 3rem;
    background: white;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: white;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 30px;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s;
}

.footer-logo img:hover {
    filter: grayscale(0%) opacity(1);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: white;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid #E2E8F0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    color: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.4;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: #F8FAFC;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #F1F5F9;
    padding-top: 1.5rem;
}

.user-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.user-info strong {
    display: block;
    color: var(--text-color);
    font-weight: 600;
}

.user-info .text-muted {
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: white;
}

.pricing-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card .btn-outline,
.pricing-card .btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    border-radius: 1.5rem;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.pricing-card.popular:hover {
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
    color: var(--text-color);
}

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

.features-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.features-list li i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .nav-links { gap: 1rem; }
    .hero h1 { font-size: 3rem; }
    .card-3d { max-width: 450px; height: 320px; }
}

@media (max-width: 768px) {
    .logo img { height: 60px; }
    .mobile-menu-btn { display: block; }
    
    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: none;
        align-items: stretch;
    }

    .nav-wrapper.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-actions .btn-accent, 
    .nav-actions .btn-outline, 
    .nav-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }
    
    .card-3d {
        transform: rotateY(-5deg) rotateX(5deg);
        max-width: 100%;
    }

    .features {
        padding: 4rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
