/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    /* Blue and White Pleasant Theme */
    --primary-blue: #0A58CA;      /* Strong reliable blue */
    --primary-light: #E7F1FF;     /* Very soft blue for backgrounds */
    --secondary-blue: #00337C;    /* Deeper blue for accents/gradients */
    --accent-blue: #3D8BFD;       /* Vibrant blue for hover states */
    
    --text-dark: #1E293B;         /* Soft dark for readable text */
    --text-light: #64748B;        /* Muted text */
    --white: #FFFFFF;
    --bg-color: #FAFCFF;          /* Off-white pleasant background */
    --bg-light: #F1F5F9;          /* Slightly gray-blue for sections */
    
    --shadow-sm: 0 1px 2px 0 rgba(10, 88, 202, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 88, 202, 0.1), 0 2px 4px -1px rgba(10, 88, 202, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(10, 88, 202, 0.1), 0 4px 6px -2px rgba(10, 88, 202, 0.05);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 6rem 0;
}

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

.text-primary {
    color: var(--primary-blue);
}

.bg-light {
    background-color: var(--bg-light);
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--primary-light);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-light:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-text {
    padding: 0;
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--secondary-blue);
    gap: 0.75rem;
}

.w-100 { width: 100%; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(10, 88, 202, 0.05);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

.header.scrolled .nav-container {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-blue);
    letter-spacing: -0.5px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

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

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-blue);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for fixed header */
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

/* Abstract UI Mockup / Visual */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
    z-index: 0;
    animation: pulse 8s infinite alternate;
}

.hero-mockup-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 380px;
    perspective: 1000px;
}

.hero-mockup {
    position: absolute;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 88, 202, 0.1);
    overflow: hidden;
    transition: transform 0.5s ease;
}

.desktop-mockup {
    width: 85%;
    height: 320px;
    top: 0;
    left: 0;
    z-index: 1;
    transform: rotateY(-5deg) rotateX(5deg);
}

.hero-mockup-container:hover .desktop-mockup {
    transform: rotateY(0deg) rotateX(0deg);
}

.mobile-mockup {
    width: 150px;
    height: 300px;
    bottom: -20px;
    right: 0;
    z-index: 2;
    border-radius: 20px;
    border: 5px solid #1a1a2e;
    background-color: #000;
    transform: rotateY(-10deg) rotateX(5deg) translateZ(50px);
}

.hero-mockup-container:hover .mobile-mockup {
    transform: rotateY(0deg) rotateX(0deg) translateZ(50px);
}

.mockup-header {
    background-color: var(--bg-light);
    padding: 10px 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(10, 88, 202, 0.05);
    height: 32px;
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-screen {
    position: relative;
    width: 100%;
    height: calc(100% - 32px);
    background-color: var(--white);
    overflow: hidden;
}

.mobile-mockup .mockup-screen {
    height: 100%;
    border-radius: 14px;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    background-color: #1a1a2e;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* ==========================================================================
   Product Showcases Section
   ========================================================================== */
.showcases {
    overflow: hidden;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.product-showcase:last-child {
    margin-bottom: 0;
}

.showcase-reverse {
    direction: rtl;
}

.showcase-reverse > * {
    direction: ltr;
}

.showcase-content {
    max-width: 600px;
}

.showcase-title {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.showcase-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.showcase-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-group h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-group p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.showcase-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 88, 202, 0.1);
}

.slider {
    aspect-ratio: 16/9;
}

.mockup-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--white);
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 10s ease-out;
}

.mockup-img.active {
    opacity: 1;
}

.showcase-visual:hover .mockup-img.active {
    transform: scale(1.05);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(10, 88, 202, 0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-card h4 {
    color: var(--secondary-blue);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    -webkit-text-stroke: 1px var(--primary-blue);
}

.benefit-number.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.benefit-item h4 {
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.benefit-item p {
    color: var(--text-light);
}

/* ==========================================================================
   About Us / Founders Section
   ========================================================================== */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.founder-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(10, 88, 202, 0.05);
    transition: var(--transition);
}

.founder-card:hover {
    box-shadow: var(--shadow-md);
}

.founder-image-placeholder {
    width: 120px;
    height: 120px;
    background-color: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-light);
}

.founder-name {
    font-size: 1.25rem;
    color: var(--secondary-blue);
    margin-bottom: 0.25rem;
}

.founder-role {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.founder-bio {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}

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

.contact-title {
    color: var(--white);
}

.contact-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.contact-item svg {
    opacity: 0.8;
}

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--secondary-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container,
    .contact-container,
    .product-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-reverse {
        direction: ltr;
    }

    .showcase-content {
        margin: 0 auto;
    }

    .showcase-features {
        text-align: left;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .hero-mockup {
        margin: 0 auto;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-content,
    .showcase-features {
        grid-template-columns: 1fr;
    }

    .hero-mockup-container {
        height: 250px;
    }

    .desktop-mockup {
        width: 90%;
        height: 200px;
    }

    .mobile-mockup {
        width: 100px;
        height: 200px;
        bottom: 0px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .product-showcase {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 4rem;
    }

    .showcase-content {
        display: contents;
    }

    .showcase-title { 
        order: 1; 
        margin-bottom: 0;
    }
    
    .showcase-desc { 
        order: 2; 
        margin-bottom: 0; 
    }
    
    .showcase-visual { 
        order: 3; 
        margin-bottom: 0; 
        width: 100%; 
    }
    
    .showcase-features { 
        order: 4; 
    }
    
    .product-showcase .btn { 
        order: 5; 
        margin-top: 0.5rem; 
        width: 100%; 
        text-align: center; 
    }
}
