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

:root {
    --primary-red: #d32127;
    --primary-blue: #1d5b96;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #fafbfc;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo svg {
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn-primary-small):hover {
    color: var(--primary-blue);
}

.nav-links a:not(.btn-primary-small)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-small):hover::after {
    width: 100%;
}

.btn-primary-small {
    padding: 8px 20px;
    background: var(--primary-blue);
    color: white !important;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary-small:hover {
    background: #164a7a;
    transform: translateY(-1px);
}

.btn-primary-small::after {
    display: none;
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 20px rgba(29, 91, 150, 0.3);
}

.btn-primary:hover {
    background: #164a7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(29, 91, 150, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 24px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 3s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 32px;
}

.floating-card .card-text {
    font-weight: 600;
    font-size: 18px;
}

.card-1 {
    top: -100px;
    right: 0;
}

.card-2 {
    top: 50px;
    right: -50px;
    animation-delay: 0.5s;
}

.card-3 {
    top: 200px;
    right: 30px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    bottom: -150px;
    left: -150px;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

/* Fade-in Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.fade-in-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

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

/* Section Styles */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(29, 91, 150, 0.1);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Product Section */
.featured-product {
    background: var(--bg-lighter);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.product-content > p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 15px;
}

.browser-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.browser-mockup:hover {
    transform: translateY(-8px);
}

.browser-header {
    background: #f5f5f5;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dots span:nth-child(1) {
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27c93f;
}

.browser-url {
    flex: 1;
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
}

.browser-content {
    padding: 24px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 300px;
}

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

.social-item {
    aspect-ratio: 1;
    border-radius: 12px;
    animation: fadeIn 0.5s ease-out backwards;
}

.social-item:nth-child(1) { animation-delay: 0.1s; }
.social-item:nth-child(2) { animation-delay: 0.2s; }
.social-item:nth-child(3) { animation-delay: 0.3s; }
.social-item:nth-child(4) { animation-delay: 0.4s; }
.social-item:nth-child(5) { animation-delay: 0.5s; }
.social-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: white;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-lighter);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    top: -300px;
    left: -200px;
}

.orb-4 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    bottom: -250px;
    right: -150px;
    animation-delay: 1s;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-visual {
        right: 5%;
        transform: translateY(-50%) scale(0.8);
    }

    .product-showcase,
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        gap: 24px;
        transition: left 0.3s ease;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }

    .hero-visual {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 80px 0;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .product-content h3 {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}
