/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 100%);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo .logo {
    height: 40px;
    width: auto;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #06b6d4;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #06b6d4;
    transition: width 0.3s ease;
}

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

/* Navbar scrolled state */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.navbar.scrolled .nav-link {
    color: #0a2463 !important;
    transition: color 0.3s;
}

.navbar.scrolled .nav-link:hover {
    color: #06b6d4 !important;
}

#logo {
    height: 50px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

/* Geometric background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Curved line patterns */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    z-index: 2;
}

.hero-content > p:first-of-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #1e3a8a;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    background: #f0f9ff;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Visual - Preserved Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.3);
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 70%;
    animation-delay: 1s;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.element-3 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.element-4 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 60%;
    animation-delay: 3s;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2463;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 182, 212, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.card-icon svg {
    width: 40px;
    height: 40px;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0a2463;
    margin-bottom: 1rem;
}

.about-card p {
    color: #475569;
    line-height: 1.6;
}

/* Decorative 3D element */
.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

/* Innovation Section */
.innovation {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.innovation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

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

.innovation-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.innovation-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.innovation-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #06b6d4;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Neural Network Animation */
.innovation-visual {
    position: relative;
    height: 400px;
}

.neural-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #06b6d4;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

.node-1 { top: 20%; left: 20%; animation-delay: 0s; }
.node-2 { top: 20%; right: 20%; animation-delay: 0.4s; }
.node-3 { top: 50%; left: 50%; animation-delay: 0.8s; }
.node-4 { bottom: 20%; left: 20%; animation-delay: 1.2s; }
.node-5 { bottom: 20%; right: 20%; animation-delay: 1.6s; }

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, transparent);
    animation: flow 3s ease-in-out infinite;
}

.connection-1 {
    top: 25%;
    left: 25%;
    width: 50%;
    transform: rotate(15deg);
}

.connection-2 {
    top: 45%;
    left: 20%;
    width: 30%;
    transform: rotate(-45deg);
}

.connection-3 {
    top: 45%;
    right: 20%;
    width: 30%;
    transform: rotate(45deg);
}

.connection-4 {
    bottom: 25%;
    left: 25%;
    width: 50%;
    transform: rotate(-15deg);
}

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

@keyframes flow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 50%, #3b82f6 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: #06b6d4;
    flex-shrink: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: #0a2463;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06b6d4;
    background: white;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

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

.contact-form .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #020617 0%, #0a2463 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 100px;
    margin-bottom: .1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    justify-content: flex-end;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #06b6d4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container,
    .innovation-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-logo .logo {
        height: 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .innovation-stats {
        justify-content: space-between;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        gap: 2rem;
        justify-content: flex-start;
    }
    
    .hero-visual {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    .innovation-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .contact-info h2,
    .innovation-text h2 {
        font-size: 2rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .nav-logo .logo {
        height: 30px;
    }
}

/* Smooth transitions for all interactive elements */
a, button, .about-card, .nav-link {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a2463;
}

::-webkit-scrollbar-thumb {
    background: #06b6d4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0ea5e9;
}

/* Flagship Product Section - GraspCheck */
.flagship-product {
    padding: 4rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.flagship-product::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.product-badge {
    text-align: center;
    margin-bottom: 2rem;
}

.product-badge span {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.product-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0a2463;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0a2463, #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.product-description {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: 12px;
    border-left: 4px solid #06b6d4;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0a2463;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.product-cta {
    text-align: left;
}

.btn-product {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.btn-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.btn-product svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-product:hover svg {
    transform: translateX(5px);
}

.product-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
}

/* Product Visual */
.product-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-showcase {
    position: relative;
    width: 100%;
    height: 100%;
}

.showcase-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(10, 36, 99, 0.15);
    border: 2px solid rgba(6, 182, 212, 0.2);
    z-index: 2;
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.card-icon-large svg {
    width: 40px;
    height: 40px;
}

.card-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a2463;
    margin-bottom: 0.75rem;
    text-align: center;
}

.card-body p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    text-align: center;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0a2463;
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.15);
    border: 2px solid rgba(6, 182, 212, 0.3);
    white-space: nowrap;
    z-index: 3;
}

.badge-1 {
    top: 15%;
    left: 5%;
    animation: float-badge 4s ease-in-out infinite;
    animation-delay: 0s;
}

.badge-2 {
    top: 45%;
    right: 0%;
    animation: float-badge 4s ease-in-out infinite;
    animation-delay: 1.3s;
}

.badge-3 {
    bottom: 20%;
    left: 10%;
    animation: float-badge 4s ease-in-out infinite;
    animation-delay: 2.6s;
}

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

/* Responsive Design for Product Section */
@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-title {
        font-size: 2.25rem;
    }
    
    .product-tagline {
        font-size: 1.25rem;
    }
    
    .product-visual {
        height: 400px;
    }
    
    .showcase-card {
        width: 280px;
    }
    
    .floating-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.875rem;
    }
    
    .product-tagline {
        font-size: 1.125rem;
    }
    
    .product-features {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .btn-product {
        width: 100%;
        justify-content: center;
    }
}
