/* Continuous Design - Main Stylesheet */

/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    line-height: 1.7;
    background: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

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

/* Enhanced Section Styling */
section {
    position: relative;
    border-top: 2px solid transparent;
}

/* Alternating section backgrounds */
section:nth-child(even) {
    background: #f8fbff;
}

section:nth-child(odd) {
    background: white;
}

/* Blue accent bars at section tops */
section {
    border-top: 2px solid;
    border-image: linear-gradient(
        90deg,
        transparent 0%,
        transparent 10%,
        #0066cc 20%,
        #0066cc 80%,
        transparent 90%,
        transparent 100%
    ) 1;
}

/* Subtle side borders */
section::before,
section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, 
        rgba(0, 102, 204, 0) 0%,
        rgba(0, 102, 204, 0.04) 20%,
        rgba(0, 102, 204, 0.04) 80%,
        rgba(0, 102, 204, 0) 100%
    );
    pointer-events: none;
}

section::before {
    left: 0;
}

section::after {
    right: 0;
}

/* Special styling for hero sections - no top border */
.hero-home,
.page-hero {
    border-top: none !important;
}

/* Hero section gets bottom accent bar instead */
.hero-home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, 
        #0066cc 0%, 
        #00a3ff 50%,
        #0066cc 100%
    );
    border-radius: 2px;
}

/* Content boxes get enhanced depth */
section > .container > div[style*="background: white"],
section > .container > div[style*="background: #fff"],
.feature-detail-card,
.hero-visual > div {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.02),
                0 1px 3px rgba(0,0,0,0.03),
                0 4px 8px rgba(0,0,0,0.02);
}

/* Header Tagline */
.header-tagline {
    background: #f8fbff;
    border-bottom: 1px solid #e6f2ff;
    padding: 10px 0;
    text-align: center;
    font-size: 0.95rem;
    color: #0066cc;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-style: italic;
    position: relative;
}

/* Decorative bar above tagline */
.header-tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #0066cc 50%, 
        transparent 100%
    );
}

.header-tagline strong {
    font-weight: 700;
    color: #004d99;
}

/* Top Utility Bar */
.top-utility-bar {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #004d99 0%, #003d7a 100%);
    padding: 8px 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px !important; /* Override default container padding for edge-to-edge feel */
    max-width: 100% !important; /* Full width for true edge positioning */
}

.utility-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.utility-bar-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.utility-bar-search:hover {
    background: rgba(255,255,255,0.1);
}

.utility-bar-search i {
    width: 14px;
    height: 14px;
    color: #b3d9ff;
}

.utility-bar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.utility-bar-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.utility-bar-link:hover {
    background: rgba(255,255,255,0.1);
}

.utility-bar-signup {
    background: white;
    color: #004d99;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.utility-bar-signup:hover {
    background: #b3d9ff;
    transform: translateY(-1px);
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 37px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #e6f2ff;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 102, 204, 0.04);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.12),
                0 2px 8px rgba(0, 102, 204, 0.08);
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 60px; /* Reduced from 16px for more compact navbar */
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.navbar-tagline {
    font-size: 0.65rem;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-top: 2px;
    position: relative;
    padding-top: 4px;
}

/* Decorative bar above navbar tagline */
.navbar-tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        #0066cc 0%, 
        #00a3ff 50%,
        #0066cc 100%
    );
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-menu a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-menu a.active {
    color: #0066cc;
    font-weight: 600;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: #0066cc;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-cta {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.navbar-cta::after {
    display: none;
}

.navbar-login {
    color: #0066cc;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border: 2px solid #0066cc;
    transition: all 0.3s ease;
}

.navbar-login:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid #e6f2ff;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Cards */
.features-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e6f2ff;
    box-shadow: 0 4px 16px rgba(0,102,204,0.08);
    transition: all 0.3s ease;
}

.feature-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,102,204,0.15);
    border-color: #0066cc;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon-large svg {
    width: 40px;
    height: 40px;
    stroke: #0066cc;
    stroke-width: 2;
}

.feature-detail-card:hover .feature-icon-large {
    background: linear-gradient(135deg, #0066cc 0%, #00a3ff 100%);
}

.feature-detail-card:hover .feature-icon-large svg {
    stroke: white;
}

.feature-detail-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-detail-card > p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-benefits li {
    padding: 0.5rem 0;
    color: #333;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: 700;
}

.feature-badge {
    display: inline-block;
    background: #e6f2ff;
    color: #0066cc;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* CTA Button */
.cta-button-large {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: #0066cc;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.4);
}

/* Sticky Contact Bar at Bottom */
.sticky-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #004d99 0%, #003d7a 100%);
    padding: 16px 0;
    box-shadow: 0 -2px 12px rgba(0, 77, 153, 0.2);
    z-index: 1000;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sticky-contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px !important; /* Override default container padding for edge-to-edge feel */
    max-width: 100% !important; /* Full width for true edge positioning */
}

.contact-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-bar-left i {
    color: #b3d9ff;
}

.contact-bar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-bar-btn-primary {
    background: white;
    color: #004d99;
    border: none;
}

.contact-bar-btn-primary:hover {
    background: #b3d9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.contact-bar-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.contact-bar-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

/* Add bottom padding to body to prevent content being hidden */
body {
    padding-bottom: 65px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .navbar .container {
        padding: 16px 40px;
    }
}

@media (max-width: 968px) {
    .features-grid-detailed {
        grid-template-columns: 1fr;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .navbar .container {
        padding: 6px 24px; /* Match compact design */
    }
    
    .top-utility-bar .container {
        padding: 0 24px !important; /* Medium padding on tablet */
    }
    
    .sticky-contact-bar .container {
        padding: 0 24px !important; /* Medium padding on tablet */
    }
    
    .navbar-menu {
        display: none;
    }
    
    /* Hide side borders on mobile */
    section::before,
    section::after {
        display: none;
    }
    
    /* Adjust top bars for mobile - make them shorter */
    section {
        border-image: linear-gradient(
            90deg,
            transparent 0%,
            transparent 5%,
            #0066cc 15%,
            #0066cc 85%,
            transparent 95%,
            transparent 100%
        ) 1;
    }
    
    /* Hero bottom bar adjustment */
    .hero-home::after {
        left: 5%;
        right: 5%;
    }
    
    /* Compact contact bars on mobile */
    .contact-bar-left span,
    .utility-bar-search span {
        display: none;
    }
    
    .sticky-contact-bar {
        padding: 12px 0;
    }
    
    .sticky-contact-bar .container {
        padding: 0 20px !important; /* Tighter padding on mobile */
    }
    
    .top-utility-bar {
        padding: 6px 0;
    }
    
    .top-utility-bar .container {
        padding: 0 20px !important; /* Tighter padding on mobile */
    }
    
    .navbar {
        top: 33px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .navbar .container {
        padding: 6px 20px; /* Match compact design */
    }
}