/* ========================================
   TelqNet - Modern SaaS Landing Page
   Bold dark theme with gradient accents
   ======================================== */

/* CSS Variables */
:root {
    --primary-start: #6366f1;
    --primary-end: #8b5cf6;
    --accent: #14b8a6;
    --accent-light: #2dd4bf;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.5);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(148, 163, 184, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-light));
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

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

.nav-cta {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--bg-card);
    border-color: var(--primary-start);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(20, 184, 166, 0.1), transparent);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-end);
    top: 50%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(30px, 10px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
}

.cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* Product Section */
.product {
    padding: 120px 0;
    position: relative;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.product-header {
    text-align: center;
    margin-bottom: 64px;
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.product-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

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

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

.product-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.product-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    margin-bottom: 20px;
}

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

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Product CTA */
.product-cta {
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-accent);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--bg-dark);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(20, 184, 166, 0.4);
}

.btn-primary .cta-arrow {
    width: 18px;
    height: 18px;
    stroke: var(--bg-dark);
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-contact {
    text-align: right;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
}

.contact-email:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 16px 0;
    }

    .hero {
        padding: 100px 20px 60px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .product {
        padding: 80px 0;
    }

    .product-header {
        margin-bottom: 48px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .about {
        padding: 80px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

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

    .about-title {
        font-size: 1.6rem;
    }
}

/* Privacy Page */
.privacy-hero {
    position: relative;
    padding: 160px 24px 80px;
    text-align: center;
    overflow: hidden;
}

.privacy-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.privacy-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.privacy-content {
    padding: 80px 0 120px;
    position: relative;
}

.privacy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.privacy-prose {
    max-width: 750px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.privacy-prose h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.privacy-prose h2:first-child {
    margin-top: 0;
}

.privacy-prose h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
}

.privacy-prose p {
    margin-bottom: 16px;
}

.privacy-prose ul {
    margin: 16px 0;
    padding-left: 24px;
}

.privacy-prose li {
    margin-bottom: 12px;
    position: relative;
}

.privacy-prose li::marker {
    color: var(--accent);
}

.privacy-prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.privacy-prose a {
    color: var(--accent);
    transition: var(--transition);
}

.privacy-prose a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.privacy-prose .highlight-text {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
}

.contact-card {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.contact-card p {
    margin-bottom: 8px;
}

.contact-card-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-card-email {
    margin-top: 16px !important;
}

.footer-link {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent);
}

/* Privacy Page Responsive */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 120px 20px 60px;
    }

    .privacy-content {
        padding: 60px 0 80px;
    }

    .privacy-prose h2 {
        font-size: 1.3rem;
        margin-top: 40px;
    }

    .privacy-prose h3 {
        font-size: 1.1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
