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

:root {
    /* Colors - Matching Existing Design System */
    --primary-color: #1F3A65;
    --primary-hover: #173058;
    --accent-color: #44D7B6;
    --accent-hover: #3BC9A8;
    --secondary-bg: #F4F4F7;
    --background: #FAFAFA;
    --white: #FFFFFF;
    --text-primary: #333D4B;
    --text-secondary: #666;
    --text-light: #999;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.06);
    --teal-color:#0CA58A;
    --dark-grey-color:#F5f5F5;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent-color) 0%, #2DD4BF 100%);
    --hero-gradient: linear-gradient(135deg, rgba(31, 58, 101, 0.03) 0%, rgba(68, 215, 182, 0.03) 100%);
    
    /* Typography */
    --font-primary: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    

    /* Fonts - Matching Existing System */
    --font-heading: 'Satoshi', sans-serif;
    --font-body: 'Satoshi', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 50px;
    
    /* Shadows - Matching Existing System */
    --shadow-sm: 0px 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0px 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0px 6px 16px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0px 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-card: 0px 6px 16px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0px 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-featured: 0px 20px 40px rgba(31, 58, 101, 0.15);
    --shadow-button: 0px 4px 12px rgba(0, 0, 0, 0.08);

    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}
a{
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

.gradient-text,
.accent-text {
    color: var(--accent-color);
    font-weight: 700;
}

.primary-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    box-shadow: var(--shadow-button);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0px 8px 25px rgba(31, 58, 101, 0.2), 0px 4px 12px rgba(31, 58, 101, 0.15);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow-button);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0px 6px 18px rgba(68, 215, 182, 0.15);
}

.btn-primary .btn-glow,
.btn-accent .btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover .btn-glow,
.btn-accent:hover .btn-glow {
    opacity: 1;
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--secondary-bg);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}
@media(min-width:360px) and (max-width:380px){
    .testimonials-grid{
        display: flex !important;
        flex-direction: column !important;
    }
}
@media(max-width:360px){
    .feature-card{
        padding: var(--spacing-sm) !important;
    }
    .btn-hero-primary{
        padding:var(--spacing-md) !important;
    }
    .hero-badge{
        padding: var(--spacing-sm) !important;
    }
    .pricing-grid{
        display: flex !important;
        flex-direction:column !important;
    }
     .container{
        padding: 0 var(--spacing-xs) !important;
    }
    .testimonials-grid{
        display: flex !important;
        flex-direction: column !important;
    }
    .testimonial-card{
        padding: var(--spacing-xs);
    }
    .footer-main{
        display: flex !important;
        flex-direction: column !important;
    }
    .cta-container{
        display: flex !important;
        flex-direction: column !important;
    }
}
@media(max-width:576px) {
    .feature-card{
        padding: var(--spacing-sm) !important;
    }
    .container{
        padding: 0 var(--spacing-xs) !important;
    }
    .cta-container{
        display: flex !important;
        flex-direction: column !important;
    }
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
    }
    .demo-screen{
        aspect-ratio: 8/10 !important;
    }
    .hero-buttons {
        align-items: center;
    }
    
    .secondary-cta-wrapper {
        margin-left: 0;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .steps-timeline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .demo-content {
        display: flex !important;
        flex-direction: column !important;
    }
    .demo-screen{
        aspect-ratio: 8/10 !important;
    }
    
    .demo-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    /* Tablet: 2 columns × 2 rows */
    .footer-main {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: var(--spacing-xl) !important;
    }
    .footer-main{
        display: flex !important;
        flex-direction: column !important;
    }
    .footer-vertical{
        display: flex;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
     .features-grid{
        display: flex !important;
        flex-direction: column !important;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Responsive Design */
@media (min-width:576px) and (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
    }
    .feature-card{
        padding: var(--spacing-sm) !important;
    }
    
    .hero-buttons {
        align-items: center;
    }
    
    .secondary-cta-wrapper {
        margin-left: 0;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .steps-timeline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .demo-content {
        display: flex !important;
        flex-direction: column !important;
    }
    .demo-screen{
        aspect-ratio: 12/10 !important;
    }
    
    .demo-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    /* Tablet: 2 columns × 2 rows */
    .footer-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-xl) !important;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}
@media(min-width:768px) and (max-width:896px){
    .nav-links{
        gap: var(--spacing-md);
    }
    .premium-connector{
        width: 40px !important;
    }
    .steps-timeline{
        align-items: stretch !important;
    }
    .premium-step-card {
    display: flex;
    flex-direction: column;
    flex: 1 !important; /* equal width and stretch height */
    text-align: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.98) 50%, 
        rgba(31, 58, 101, 0.02) 100%);
    border-radius: 20px;
    border: 1px solid rgba(31, 58, 101, 0.1);
    box-shadow: 
        0 20px 40px rgba(31, 58, 101, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Ensures content inside card doesn’t stretch disproportionately */
.step-content {
    flex: 1 !important; /* make content take available height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* space between title, desc, features */
}
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-large{
        padding: var(--spacing-md) !important;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .mockup-content {
        flex-direction: column;
        height: auto;
    }
    
    .components-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .demo-stats {
        flex-direction: column;
    }
    
    /* Mobile: single column, stacked vertically */
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    /* Bottom bar stacked vertically on mobile */
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% { 
        transform: translateY(-100px) rotate(180deg);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: 200px 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-30px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(0);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(79, 70, 229, 0.5); }
    50% { box-shadow: 0 0 20px rgba(79, 70, 229, 0.8); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}