/* Base Design Tokens */
:root {
    --bg-primary: #080a10;
    --bg-secondary: #0f121d;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-card: rgba(255, 255, 255, 0.06);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-teal: #10b981;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #d946ef 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid var(--border-card);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 10, 16, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-card);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    color: #3b82f6;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

.nav-links a:hover {
    color: #fff;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #20ba56;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-gradients {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gradient-ball {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.ball-1 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    top: -50px;
    right: 10%;
}

.ball-2 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    bottom: 10%;
    left: 5%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 40%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-subtitle strong {
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-card);
    padding-top: 24px;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Phone Mockup & Interactive Chat Simulator */
.phone-mockup {
    width: 340px;
    height: 600px;
    background: #0d0f19;
    border-radius: 40px;
    border: 8px solid #222533;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.phone-header {
    background: #141724;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.camera {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 16px;
    background: #222533;
    border-radius: 50px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

.user-info h4 {
    font-size: 0.9rem;
    color: #fff;
}

.status {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.phone-actions {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    gap: 16px;
}

.phone-chat {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    background: radial-gradient(circle at top, #111422 0%, #080a11 100%);
}

.message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.4;
    animation: slideUp 0.3s ease;
}

.message.received {
    background: #191d2f;
    color: var(--text-main);
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.message.sent {
    background: #3b82f6;
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #191d2f;
    border-radius: 18px;
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.chat-options-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.chat-option {
    background: rgba(59, 130, 246, 0.08);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.chat-option:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateX(4px);
}

.phone-footer {
    background: #141724;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.input-placeholder {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.send-btn {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-size: 1.1rem;
    cursor: pointer;
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}

.section-title p {
    color: var(--text-muted);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 50px 40px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.comp-card.hermes {
    border-color: #8b5cf6;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.06) 0%, rgba(8, 10, 16, 0.4) 100%);
    box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.1);
}

.comp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.comp-time {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 30px;
}

.comp-time.success {
    color: var(--accent-teal);
}

.comp-list {
    list-style: none;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.comp-list li i {
    margin-top: 4px;
}

.text-danger {
    color: #ef4444;
}

.text-success {
    color: var(--accent-teal);
}

/* Features & Capabilities */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.03);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.08);
    color: #60a5fa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

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

/* Security Section */
.security-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.security-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.icon-big {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

.security-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.security-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.sec-item i {
    color: var(--accent-teal);
}

.security-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.shield-graphic {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-core {
    font-size: 5rem;
    color: var(--accent-blue);
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.shield-ring {
    position: absolute;
    border: 2px dashed rgba(59, 130, 246, 0.2);
    border-radius: 50%;
}

.ring-1 {
    width: 180px;
    height: 180px;
    animation: rotateCW 20s linear infinite;
}

.ring-2 {
    width: 240px;
    height: 240px;
    border-style: dotted;
    animation: rotateCCW 25s linear infinite;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-card);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

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

@keyframes typing {
    from { opacity: 0.3; transform: translateY(0); }
    to { opacity: 1; transform: translateY(-4px); }
}

@keyframes rotateCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container, .security-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

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

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

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .security-features {
        align-items: center;
    }

    .nav-links {
        display: none;
    }
}
