:root {
    --bg-color: #fbfbfd;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-blue: #0B6F67;
    --accent-blue-hover: #085952;
    --accent-orange: #DF5216;
    --accent-orange-hover: #c4450f;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-bg: #ffffff;
    --gradient-1: linear-gradient(135deg, #0B6F67, #2dd4bf);
    --gradient-2: linear-gradient(135deg, #DF5216, #FDBA74);
    --card-radius: 20px;
    --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.5;
}

/* Typography */
h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(251, 251, 253, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Beautiful pop of brand colors on the navbar bottom edge */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    opacity: 0.8;
}

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

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--accent-blue);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.login-link {
    color: var(--accent-blue) !important;
    font-weight: 700 !important;
}

.login-link:hover {
    color: var(--accent-orange) !important;
}

/* Buttons */
.btn-primary, .btn-primary-small, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 980px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-small {
    background: var(--accent-orange);
    color: #fff !important;
    padding: 10px 20px;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 4px 14px rgba(223, 82, 22, 0.3);
}

.btn-primary-small:hover {
    transform: scale(1.05);
    background: var(--accent-orange-hover);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(223, 82, 22, 0.4);
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    padding: 16px 32px;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 8px 24px rgba(11, 111, 103, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--accent-blue-hover);
    box-shadow: 0 12px 30px rgba(11, 111, 103, 0.4);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 16px 32px;
    font-size: 1.1rem;
    border: 2px solid rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background: rgba(223, 82, 22, 0.05);
}

.arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-secondary:hover .arrow {
    transform: translateX(6px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 2rem 100px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(11, 111, 103, 0.2) 0%, rgba(251, 251, 253, 0) 70%);
    z-index: -1;
    filter: blur(80px);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.6; transform: translateY(-50%) scale(1); }
    100% { opacity: 0.9; transform: translateY(-50%) scale(1.1); }
}

.headline {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    padding-bottom: 0.1em;
}

.gradient-text {
    background: linear-gradient(90deg, #0B6F67, #388E86);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subheadline {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

/* Abstract Dashboard */
.hero-image-container {
    width: 100%;
    position: relative;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-dashboard {
    position: relative;
    width: 100%;
    height: 600px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg) scale(1);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover .abstract-dashboard {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.dashboard-base {
    position: absolute;
    top: 50px; left: 0; right: 0; bottom: 50px;
    background: linear-gradient(145deg, rgba(255,255,255,0.6), rgba(249,250,251,0.4));
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    transform: translateZ(-50px);
}

.dashboard-base::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    border-radius: 32px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    padding: 24px;
    transform-style: preserve-3d;
}

.stat-card {
    top: 10%;
    left: 5%;
    width: 240px;
    transform: translateZ(40px);
    animation: float1 6s ease-in-out infinite;
}

.chart-card {
    top: 25%;
    right: 5%;
    width: 300px;
    height: 200px;
    display: flex;
    align-items: flex-end;
    transform: translateZ(80px);
    animation: float2 8s ease-in-out infinite;
}

.risk-card {
    bottom: 15%;
    left: 15%;
    width: 280px;
    display: flex;
    align-items: center;
    gap: 20px;
    transform: translateZ(60px);
    animation: float3 7s ease-in-out infinite;
}

.stat-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.bg-teal-grad { background: var(--gradient-1); }

.stat-lines .line { height: 10px; background: #f3f4f6; border-radius: 5px; margin-bottom: 10px; }
.stat-lines .line:last-child { margin-bottom: 0; }
.stat-lines .line.w-full { width: 100%; }
.stat-lines .line.w-3-4 { width: 75%; }
.stat-lines .line.w-1-2 { width: 50%; }

.chart-bars { display: flex; gap: 14px; width: 100%; align-items: flex-end; height: 140px; }
.chart-bars .bar { flex: 1; background: var(--gradient-1); border-radius: 6px 6px 0 0; opacity: 0.9; }
.chart-bars .bar:nth-child(1) { height: 40%; }
.chart-bars .bar:nth-child(2) { height: 75%; }
.chart-bars .bar:nth-child(3) { height: 100%; }
.chart-bars .bar:nth-child(4) { height: 60%; }
.chart-bars .bar:nth-child(5) { height: 85%; }

.risk-circle {
    width: 64px; height: 64px; border-radius: 32px; 
    border: 8px solid var(--accent-orange); 
    border-top-color: transparent; 
    border-right-color: transparent; 
    transform: rotate(45deg);
    position: relative;
}

.risk-inner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 24px; height: 24px;
    background: var(--accent-orange);
    border-radius: 12px;
}

@keyframes float1 { 0%, 100% { transform: translateZ(40px) translateY(0); } 50% { transform: translateZ(40px) translateY(-15px); } }
@keyframes float2 { 0%, 100% { transform: translateZ(80px) translateY(0); } 50% { transform: translateZ(80px) translateY(-20px); } }
@keyframes float3 { 0%, 100% { transform: translateZ(60px) translateY(0); } 50% { transform: translateZ(60px) translateY(-10px); } }

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
    }
    .hero-content {
        align-items: center;
    }
    .cta-group {
        justify-content: center;
    }
    .abstract-dashboard {
        transform: rotateY(0) rotateX(0) scale(0.9);
    }
    .hero-bg-glow {
        top: 20%; left: 50%; transform: translateX(-50%);
    }
    @keyframes pulse {
        0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
        100% { opacity: 0.9; transform: translateX(-50%) scale(1.1); }
    }
}

/* Features */
.features-section {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.feature-card {
    grid-column: span 6;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.feature-card-wide {
    grid-column: span 12;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.feature-content-wide {
    flex: 1;
    padding: 40px;
}

.feature-image-wide {
    flex: 1;
    background: #f5f5f7;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mini-app {
    width: 80%;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-soft);
}

.voice-bubble {
    background: #f5f5f7;
    padding: 12px 20px;
    border-radius: 20px 20px 20px 4px;
    font-size: 0.9rem;
    align-self: flex-start;
    color: var(--text-primary);
}

.voice-bubble.right {
    background: var(--accent-blue);
    border-radius: 20px 20px 4px 20px;
    align-self: flex-end;
    color: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

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

.bg-blue { background: linear-gradient(135deg, #00C6FF, #0072FF); }
.bg-purple { background: linear-gradient(135deg, #A78BFA, #6D28D9); }
.bg-red { background: linear-gradient(135deg, #FF5F56, #E11D48); }
.bg-orange { background: linear-gradient(135deg, #FDBA74, #EA580C); }
.bg-yellow { background: linear-gradient(135deg, #FDE047, #CA8A04); }

.feature-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.text-large {
    font-size: 2.5rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Security */
.security-section {
    padding: 150px 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.massive-text {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.text-glow {
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,0,0,0.1);
    background: linear-gradient(180deg, #1d1d1f 0%, rgba(29,29,31,0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.security-desc {
    font-size: 1.4rem;
    color: var(--text-secondary);
}

/* Bottom CTA */
.bottom-cta {
    padding: 50px 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-box {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
}

.cta-box h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Contact Section */
.contact-section {
    padding: 60px 2rem 100px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-form {
    text-align: left;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
    background: #fbfbfd;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
    border: none;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 2rem;
    text-align: center;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card, .feature-card-wide {
        grid-column: span 1;
    }
    .feature-card-wide {
        flex-direction: column;
    }
    .feature-image-wide {
        width: 100%;
        min-height: 250px;
    }
    .cta-group {
        flex-direction: column;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(251, 251, 253, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 2px solid var(--accent-blue);
        gap: 1.5rem;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger { display: block !important; }
}
