/* ===== Google Font Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --primary-lighter: #3182ce;
    --secondary: #0d9488;
    --secondary-light: #14b8a6;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.25);

    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-elevated: #ffffff;
    --surface-overlay: rgba(255, 255, 255, 0.08);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-on-dark: #f1f5f9;
    --text-on-dark-muted: rgba(241, 245, 249, 0.7);

    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.5s var(--ease);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(49, 130, 206, 0.15);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--surface);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-lighter);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(43, 108, 176, 0.08));
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.section-header h2 {
    font-family: var(--font);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: translateY(-1px);
}

/* ===== Header ===== */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 8px;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
    background: rgba(43, 108, 176, 0.06);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 10;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 30%, #1a365d 50%, #0d4b6e 70%, #134e5e 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(49, 130, 206, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(13, 148, 136, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.08) 0%, transparent 40%);
    animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-2%, 2%) scale(1.05);
    }

    100% {
        transform: translate(2%, -2%) scale(1);
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--surface-alt), transparent);
    z-index: 1;
}

/* Hero floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-content h2 {
    font-family: var(--font);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 44px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    font-size: 1rem;
    padding: 18px 44px;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

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

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

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ===== About Section ===== */
.about {
    padding: 140px 0;
    background-color: var(--surface-alt);
    position: relative;
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

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

.about-highlight {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.04), rgba(43, 108, 176, 0.04));
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(13, 148, 136, 0.12);
    margin-top: 32px;
    transition: var(--transition);
}

.about-highlight:hover {
    border-color: rgba(13, 148, 136, 0.25);
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
}

.about-highlight i {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-right: 20px;
    flex-shrink: 0;
}

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

.about-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.placeholder-box {
    background: linear-gradient(135deg, #1a365d 0%, #0d4b6e 50%, #134e5e 100%);
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.placeholder-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
}

.placeholder-box i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.placeholder-box p {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* ===== Features Section ===== */
.features {
    padding: 140px 0;
    background-color: var(--surface);
    position: relative;
}

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

.feature-card {
    background: var(--surface);
    padding: 44px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.03), rgba(43, 108, 176, 0.03));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(13, 148, 136, 0.2);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(43, 108, 176, 0.08));
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
    transition: var(--transition);
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary), var(--primary-lighter));
    border-color: transparent;
    transform: scale(1.05);
}

.feature-icon i {
    font-size: 1.6rem;
    color: var(--secondary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    font-family: var(--font);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    position: relative;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
}

/* ===== CTA Section ===== */
.cta {
    padding: 120px 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #1a365d 60%, #134e5e 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(49, 130, 206, 0.1) 0%, transparent 70%);
}

.cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    position: relative;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 44px;
    color: rgba(255, 255, 255, 0.65);
    position: relative;
}

.cta .btn {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    position: relative;
}

.cta .btn:hover {
    background: var(--accent-light);
    color: var(--text-primary);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

/* ===== Contact Section ===== */
.contact {
    padding: 140px 0;
    background-color: var(--surface-alt);
    position: relative;
}

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

.contact-form {
    background: var(--surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-form--full {
    max-width: 720px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--surface);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-lighter);
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

/* Form Status Messages */
.form-status {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    display: none;
}

.form-status:not(:empty) {
    display: block;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== Footer ===== */
footer {
    background: #0f172a;
    color: var(--text-on-dark);
    padding: 80px 0 24px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo h3 {
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.02em;
}

.footer-logo p {
    color: var(--text-on-dark-muted);
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary-lighter));
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

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

.footer-links ul li a {
    color: var(--text-on-dark-muted);
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: var(--secondary-light);
    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    color: var(--text-on-dark-muted);
    font-size: 0.95rem;
}

.footer-contact p i {
    margin-right: 14px;
    color: var(--secondary);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-logo p {
        margin: 0 auto;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        text-align: center;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: 8px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 16px 24px;
        border-radius: 0;
    }

    nav ul li a:hover {
        background: rgba(43, 108, 176, 0.04);
    }

    .mobile-menu-btn {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .hero-scroll {
        display: none;
    }

    .about,
    .features,
    .contact {
        padding: 100px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .hero .btn {
        padding: 16px 36px;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .contact-item {
        padding: 20px 24px;
    }
}