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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --border-color: #334155;
    --accent: #22d3ee;
    --gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.n-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.company-ltd {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.title-line {
    display: block;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.scroll-dot {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scrollPulse 2s infinite;
}

/* Base Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.1s;
}

.section-description.visible {
    opacity: 1;
    transform: translateY(0);
}

/* What We Build Section */
.what-we-build {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    color: var(--primary-color);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* How We Think Section */
.principles {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.principle {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.principle.visible {
    opacity: 1;
    transform: translateX(0);
}

.principle:nth-child(2) {
    transition-delay: 0.1s;
}

.principle:nth-child(3) {
    transition-delay: 0.2s;
}

.principle-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.principle-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.principle-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Coming Products Section */
.coming-products {
    background: var(--bg-secondary);
}

.coming-soon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-placeholder {
    text-align: center;
    padding: 3rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.product-placeholder.visible {
    opacity: 1;
    transform: scale(1);
}

.product-placeholder:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 16px;
    color: var(--accent);
}

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

.product-placeholder h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-placeholder p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.25rem;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    width: 100%;
}

.contact-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item.address {
    align-items: flex-start;
}

.contact-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.address-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.address-text span {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
}

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

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

.footer-main {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.copyright {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.rights-reserved {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.company-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links span {
    color: var(--text-muted);
}

/* Legal Pages */
.legal-page {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
}

.legal-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-updated {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--accent);
}

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

.back-link {
    margin-top: 4rem;
    text-align: center;
}

.back-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link a:hover {
    color: var(--accent);
    transform: translateX(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

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

    .nav-container {
        padding: 0 1rem;
    }

    .company-name {
        font-size: 1.25rem;
    }

    .company-ltd {
        display: none;
    }

    .hero {
        padding: 0 1rem;
    }

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

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

    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .principles {
        gap: 2rem;
    }

    .principle {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .principle-number {
        min-width: auto;
    }

    .coming-soon {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-placeholder {
        padding: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }
}

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

    .section-description {
        font-size: 1.1rem;
    }

    .feature-card,
    .product-placeholder {
        padding: 1.5rem;
    }

    .contact-item {
        font-size: 1.1rem;
    }
}