/* ============================================
   Ndmr Website - Modern CSS
   ============================================ */

/* Variables */
:root {
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;
    --color-secondary: #10b981;

    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-card: #ffffff;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #0f172a;
        --color-bg-alt: #1e293b;
        --color-bg-card: #1e293b;
        --color-text: #f1f5f9;
        --color-text-muted: #94a3b8;
        --color-text-light: #64748b;
        --color-border: #334155;

        --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
        --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
        --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

@media (prefers-color-scheme: dark) {
    .nav {
        background: rgba(15, 23, 42, 0.8);
    }
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-github {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

.nav-github:hover {
    background: var(--color-bg-alt);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* Language Selector */
.lang-selector {
    position: relative;
    margin-left: 0.5rem;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.lang-current:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-light);
    color: var(--color-text);
}

.lang-current .flag {
    font-size: 1rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 140px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 200;
    overflow: hidden;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 1rem;
    background: transparent;
    border: none;
    font-size: 0.875rem;
    color: var(--color-text);
    cursor: pointer;
    transition: background var(--transition);
    text-align: left;
}

.lang-option:hover {
    background: var(--color-bg-alt);
}

.lang-option.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    font-weight: 500;
}

.lang-option .flag {
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .lang-selector {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        margin-left: 0;
        z-index: 50;
    }

    .lang-current {
        background: var(--color-bg-card);
        box-shadow: var(--shadow-md);
        padding: 0.75rem 1rem;
    }

    .lang-dropdown {
        bottom: calc(100% + 0.5rem);
        top: auto;
        transform: translateY(8px);
    }

    .lang-selector.open .lang-dropdown {
        transform: translateY(0);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(16, 185, 129, 0.1), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
}

@media (max-width: 968px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 968px) {
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-light);
}

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

@media (max-width: 968px) {
    .hero-platforms {
        justify-content: center;
    }
}

.platforms-icons {
    display: flex;
    gap: 0.75rem;
}

.platform {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: color var(--transition);
}

.platform:hover {
    color: var(--color-text);
}

.platform svg {
    width: 20px;
    height: 20px;
}

/* App Preview */
.hero-visual {
    display: flex;
    justify-content: center;
}

@media (max-width: 968px) {
    .hero-visual {
        display: none;
    }
}

.app-preview {
    perspective: 1000px;
}

.preview-window {
    width: 480px;
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.preview-window:hover {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

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

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.window-content {
    display: flex;
    height: 320px;
}

.app-sidebar {
    width: 60px;
    padding: 1rem 0.75rem;
    background: var(--color-bg-alt);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-item {
    width: 100%;
    height: 36px;
    background: var(--color-border);
    border-radius: var(--radius-md);
    opacity: 0.5;
}

.sidebar-item.active {
    background: var(--color-primary);
    opacity: 1;
}

.app-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-card {
    height: 60px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.app-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-item {
    height: 40px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

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

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
}

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

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

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

/* ============================================
   Screenshots Section
   ============================================ */
.screenshots {
    padding: 5rem 0;
}

.screenshots-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .screenshots-showcase {
        grid-template-columns: 1fr;
    }
}

.screenshot-card {
    text-align: center;
}

.screenshot-preview {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition);
}

.screenshot-card:hover .screenshot-preview {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.screenshot-placeholder {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 1rem;
    min-height: 200px;
}

.placeholder-header {
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.placeholder-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-card {
    height: 50px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.placeholder-content {
    height: 60px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.placeholder-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-row {
    height: 36px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.zone-card {
    height: 80px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.screenshot-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

/* ============================================
   Radios Section
   ============================================ */
.radios {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

.radios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 968px) {
    .radios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .radios-grid {
        grid-template-columns: 1fr;
    }
}

.radio-card {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    position: relative;
}

.radio-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

.radio-card.supported .radio-status {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-secondary);
}

.radio-card.coming .radio-status {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.radio-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-right: 60px;
}

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

/* ============================================
   Download Section
   ============================================ */
.download {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.download-content {
    text-align: center;
    color: white;
}

.download-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-content > p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-lg);
    color: white;
    transition: all var(--transition);
}

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

.btn-download svg {
    width: 24px;
    height: 24px;
}

.btn-download div {
    text-align: left;
}

.dl-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.dl-platform {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.download-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

.download-note a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-developer {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

@media (max-width: 480px) {
    .about-developer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.developer-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.developer-info h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.developer-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.developer-callsign {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.developer-description {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.about-project {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-links {
    display: flex;
    gap: 1rem;
}

.project-message {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.ham-greeting {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-primary);
    font-weight: 500;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

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

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.contact-form .btn .loading-icon {
    animation: spin 1s linear infinite;
}

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

.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-secondary);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-lg);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: color var(--transition);
}

.contact-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.footer-logo .logo-icon {
    width: 28px;
    height: 28px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

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