/* ==================== CSS Variables ==================== */
:root {
    --color-ice: #E8F4F8;
    --color-glacier: #A8D8E8;
    --color-arctic: #5CB3CC;
    --color-frost: #0A7EA4;
    --color-deep: #054C6B;
    --color-night: #0A1828;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-glow: #4ECFFF;
    
    --font-mono: 'DM Mono', monospace;
    --font-sans: 'IBM Plex Sans', sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--color-night);
    color: var(--color-ice);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

section {
    max-width: 100%;
    overflow-x: hidden;
}

::selection {
    background: var(--color-frost);
    color: var(--color-white);
}

/* ==================== Navigation ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 24, 40, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 216, 232, 0.1);
    animation: slideDown 0.8s var(--ease-out-expo);
    max-width: 100vw;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-icon {
    font-size: 1.75rem;
    animation: float 3s ease-in-out infinite;
    display: flex;
    align-items: center;
}

.logo-icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.logo-icon i {
    width: 1.75rem;
    height: 1.75rem;
    stroke: var(--color-arctic);
}

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

.logo-text {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.logo-accent {
    color: var(--color-arctic);
}

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

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-glacier);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--color-white);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-arctic);
    transition: width 0.3s var(--ease-out-expo);
}

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

.nav-cta {
    padding: 0.5rem 1.5rem;
    background: var(--color-frost);
    border: 2px solid var(--color-frost);
    border-radius: 0;
    color: var(--color-white) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.nav-cta:hover {
    background: transparent;
    color: var(--color-arctic) !important;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--color-arctic);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-arctic);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* ==================== Mobile Notice Modal ==================== */
.mobile-notice-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.mobile-notice-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-notice-content {
    background: linear-gradient(135deg, var(--color-deep) 0%, var(--color-night) 100%);
    border: 2px solid var(--color-arctic);
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(92, 179, 204, 0.3);
    animation: slideUp 0.4s var(--ease-out-expo);
}

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

.mobile-notice-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.mobile-notice-header i {
    width: 2rem;
    height: 2rem;
    stroke: var(--color-arctic);
}

.mobile-notice-header h3 {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

.mobile-notice-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-glacier);
    margin-bottom: 2rem;
}

.mobile-notice-btn {
    width: 100%;
    padding: 1rem;
    background: var(--color-frost);
    color: var(--color-white);
    border: 2px solid var(--color-frost);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.mobile-notice-btn:hover {
    background: var(--color-arctic);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(92, 179, 204, 0.4);
}

.mobile-notice-btn:active {
    transform: translateY(0);
}

/* ==================== Development Notice ==================== */
.dev-notice {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 189, 46, 0.15);
    border-bottom: 1px solid rgba(255, 189, 46, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.625rem 2rem;
    animation: slideDown 0.8s 0.3s both;
    max-width: 100vw;
    overflow: hidden;
}

.dev-notice-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: #FFE082;
    line-height: 1.4;
    width: 100%;
}

.dev-notice-container i {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #FFD54F;
    flex-shrink: 0;
}

.dev-notice-container strong {
    color: #FFF;
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8.5rem 2rem 4rem;
    overflow: hidden;
}

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

.ice-pattern {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, var(--color-deep) 0%, var(--color-night) 50%, var(--color-black) 100%);
    opacity: 1;
}

.ice-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent 0, transparent 35px, rgba(168, 216, 232, 0.03) 35px, rgba(168, 216, 232, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent 0, transparent 35px, rgba(168, 216, 232, 0.02) 35px, rgba(168, 216, 232, 0.02) 70px);
    animation: patternSlide 60s linear infinite;
}

@keyframes patternSlide {
    to {
        transform: translate(70px, 70px);
    }
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s var(--ease-out-expo);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 216, 232, 0.1);
    border: 1px solid rgba(168, 216, 232, 0.2);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-glacier);
    margin-bottom: 2rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    animation: fadeIn 1s 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.badge-icon {
    animation: rotate 10s linear infinite;
    display: flex;
    align-items: center;
}

.badge-icon i {
    width: 1rem;
    height: 1rem;
    stroke: var(--color-glacier);
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s var(--ease-out-expo) both;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.5s; }
.title-line:nth-child(3) { animation-delay: 0.7s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.title-line.highlight {
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.title-line.highlight::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -10px;
    right: -10px;
    height: 20px;
    background: var(--color-frost);
    opacity: 0.2;
    transform: skewY(-2deg);
    z-index: -1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-glacier);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeIn 1s 0.9s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s 1.1s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-frost);
    color: var(--color-white);
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    background: var(--color-arctic);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(92, 179, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-glacier);
    border: 2px solid rgba(168, 216, 232, 0.3);
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.btn-secondary:hover {
    background: rgba(168, 216, 232, 0.1);
    border-color: var(--color-arctic);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Terminal Styling */
.hero-terminal {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(168, 216, 232, 0.2);
    backdrop-filter: blur(10px);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    animation: fadeIn 1s 1.3s both;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(78, 207, 255, 0.1);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(168, 216, 232, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.terminal-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(168, 216, 232, 0.3);
}

.terminal-controls span:nth-child(1) { background: rgba(255, 95, 86, 0.6); }
.terminal-controls span:nth-child(2) { background: rgba(255, 189, 46, 0.6); }
.terminal-controls span:nth-child(3) { background: rgba(39, 201, 63, 0.6); }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-glacier);
}

.terminal-content {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.terminal-line {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: terminalLine 0.5s ease both;
}

.terminal-line:nth-child(1) { animation-delay: 1.5s; }
.terminal-line:nth-child(2) { animation-delay: 1.8s; }
.terminal-line:nth-child(3) { animation-delay: 2.3s; }
.terminal-line:nth-child(4) { animation-delay: 2.6s; }

@keyframes terminalLine {
    to { opacity: 1; }
}

.prompt {
    color: var(--color-arctic);
    font-weight: 600;
}

.command {
    color: var(--color-white);
}

.output {
    padding-left: 1.5rem;
}

.output-text {
    color: var(--color-glacier);
}

.output-success {
    color: var(--color-glow);
    text-shadow: 0 0 10px rgba(78, 207, 255, 0.3);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--color-glow);
    animation: blink 1s infinite, terminalLine 0.5s 2.9s both;
    margin-left: 1.5rem;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Visual */
.hero-visual {
    animation: fadeIn 1.2s 0.8s both;
}

.visual-container {
    position: relative;
    aspect-ratio: 1;
    max-width: 500px;
    margin: 0 auto;
}

.visual-grid {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent 0, transparent 49px, rgba(168, 216, 232, 0.1) 49px, rgba(168, 216, 232, 0.1) 50px),
        repeating-linear-gradient(90deg, transparent 0, transparent 49px, rgba(168, 216, 232, 0.1) 49px, rgba(168, 216, 232, 0.1) 50px);
    animation: gridPulse 4s ease-in-out infinite;
}

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

.visual-penguin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    filter: drop-shadow(0 0 40px rgba(78, 207, 255, 0.4));
    animation: penguinFloat 6s ease-in-out infinite;
}

.visual-penguin img {
    width: 10rem;
    height: 10rem;
    object-fit: contain;
}

.visual-penguin i {
    width: 6rem;
    height: 6rem;
    stroke: var(--color-glow);
}

@keyframes penguinFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(-5deg); }
    50% { transform: translate(-50%, -55%) rotate(5deg); }
}

.visual-connection {
    position: absolute;
    inset: 20%;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    height: 2px;
    width: 100%;
    animation: connectionPulse 3s ease-in-out infinite;
}

.connection-line:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.connection-line:nth-child(2) {
    top: 50%;
    left: 0;
    animation-delay: 1s;
}

.connection-line:nth-child(3) {
    bottom: 0;
    left: 0;
    animation-delay: 2s;
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.visual-nodes {
    position: absolute;
    inset: 0;
}

.node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--color-glow);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-glow);
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.node-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 0.7s;
}

.node-3 {
    top: 45%;
    right: 5%;
    animation-delay: 1.4s;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* ==================== Features Section ==================== */
.features {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--color-night) 0%, var(--color-black) 100%);
    position: relative;
}

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

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.25rem;
    color: var(--color-glacier);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 3rem 2.5rem;
    background: rgba(168, 216, 232, 0.03);
    border: 1px solid rgba(168, 216, 232, 0.1);
    transition: all 0.4s var(--ease-out-expo);
    clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 207, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    background: rgba(168, 216, 232, 0.08);
    border-color: var(--color-arctic);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(78, 207, 255, 0.2));
}

.feature-icon img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
}

.feature-icon i {
    width: 3rem;
    height: 3rem;
    stroke: var(--color-arctic);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.feature-description {
    color: var(--color-glacier);
    line-height: 1.8;
}

/* ==================== Quick Start Section ==================== */
.quickstart {
    padding: 8rem 2rem;
    background: var(--color-night);
    position: relative;
}

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

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

.quickstart-content {
    text-align: center;
    margin-bottom: 5rem;
}

.steps-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

.step {
    padding: 3rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(168, 216, 232, 0.15);
    border-left: 4px solid var(--color-frost);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(0, 0, 0, 0.6);
    border-left-color: var(--color-glow);
    transform: translateX(10px);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-frost);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.step-code {
    background: var(--color-black);
    border: 1px solid rgba(168, 216, 232, 0.2);
    padding: 1.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.step-code code {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--color-glow);
    white-space: pre;
    display: block;
    line-height: 1.8;
}

.step-note {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-glacier);
    font-style: italic;
}

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

.docs-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--color-arctic);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid var(--color-arctic);
    transition: all 0.3s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.docs-link:hover {
    background: var(--color-frost);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(92, 179, 204, 0.3);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--color-black);
    border-top: 1px solid rgba(168, 216, 232, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(168, 216, 232, 0.1);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--color-glacier);
    line-height: 1.8;
}

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

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

.footer-column a {
    display: block;
    font-size: 0.95rem;
    color: var(--color-glacier);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

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

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

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-glacier);
}

.footer-credit {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.footer-credit a {
    color: var(--color-arctic);
    text-decoration: none;
}
.footer-credit a:hover {
    text-decoration: underline;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
    }
    
    .nav-logo {
        flex-shrink: 0;
        max-width: 65%;
        overflow: hidden;
    }
    
    .logo-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.875rem 1rem;
        overflow: visible;
    }
    
    .nav-logo {
        flex-shrink: 0;
        max-width: 70%;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 76px);
        background: rgba(10, 24, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0;
        border-left: 1px solid rgba(168, 216, 232, 0.2);
        transition: right 0.3s var(--ease-out-expo);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        padding: 1rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(168, 216, 232, 0.1);
        width: 100%;
    }
    
    .nav-links a:not(.nav-cta)::after {
        display: none;
    }
    
    .dev-notice {
        padding: 0.625rem 1rem;
        top: 68px;
        max-width: 100vw;
    }
    
    .dev-notice-container {
        font-size: 0.7rem;
        justify-content: flex-start;
        gap: 0.5rem;
        flex-wrap: nowrap;
        align-items: flex-start;
        max-width: 100%;
        padding-right: 0.5rem;
    }
    
    .nav-cta {
        margin-top: 1rem;
        padding: 1rem 1.5rem;
        text-align: center;
        border-bottom: none;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    
    .dev-notice {
        padding: 0.625rem 1rem;
        top: 68px;
    }
    
    .dev-notice-container {
        font-size: 0.7rem;
        justify-content: flex-start;
        gap: 0.5rem;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    
    .dev-notice-container i {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-container {
        gap: 2rem;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-content {
        max-width: 100%;
        overflow: hidden;
    }
    
    .dev-notice-container i {
        width: 1rem;
        height: 1rem;
        flex-shrink: 0;
        margin-top: 0.15rem;
    }
    
    .dev-notice-container span {
        flex: 1;
        line-height: 1.4;
    }
    
    .hero {
        padding: 8rem 1rem 3rem;
        min-height: auto;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .btn svg {
        flex-shrink: 0;
    }
    
    .hero-terminal {
        margin-top: 2rem;
    }
    
    .terminal-content {
        padding: 1rem;
        font-size: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .terminal-line {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        white-space: nowrap;
        min-width: min-content;
    }
    
    .terminal-line .command,
    .terminal-line .output-text,
    .terminal-line .output-success {
        white-space: nowrap;
    }
    
    .hero-visual {
        display: none;
    }
    
    .visual-penguin img {
        width: 7rem;
        height: 7rem;
    }
    
    .features {
        padding: 4rem 1.5rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .quickstart-container {
        max-width: 100%;
    }
    
    .quickstart-content {
        margin-bottom: 3rem;
        max-width: 100%;
    }
    
    .steps-grid {
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.75rem 1rem;
    }
    
    .feature-card {
        padding: 1.75rem 1.25rem;
    }
    
    .feature-card:hover {
        transform: translateY(-4px);
    }
    
    .feature-icon img,
    .feature-icon i {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .quickstart {
        padding: 4rem 1rem;
    }
    
    .quickstart-content {
        margin-bottom: 3rem;
    }
    
    .steps-grid {
        gap: 1.5rem;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .footer-container {
        max-width: 100%;
    }
    
    .footer-main {
        gap: 2rem;
        padding-bottom: 2rem;
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .step-number {
        font-size: 2.5rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-code {
        padding: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    
    .step-code code {
        font-size: 0.75rem;
        display: block;
        white-space: pre;
        line-height: 1.6;
    }
    
    .footer {
        padding: 3rem 1rem 2rem;
    }
    
    .footer-main {
        gap: 2rem;
        padding-bottom: 2rem;
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 0.875rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.03em;
    }
    
    .logo-icon img {
        width: 1.4rem;
        height: 1.4rem;
    }
    
    .dev-notice {
        padding: 0.5rem 0.75rem;
    }
    
    .dev-notice-container {
        font-size: 0.65rem;
        line-height: 1.35;
        gap: 0.4rem;
    }
    
    .dev-notice-container i {
        width: 0.9rem;
        height: 0.9rem;
    }
    
    .hero {
        padding: 7.5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .terminal-content {
        font-size: 0.7rem;
        padding: 0.875rem;
        overflow-x: auto;
    }
    
    .terminal-line {
        white-space: nowrap;
        overflow-x: auto;
    }
    
    .visual-penguin img {
        width: 5rem;
        height: 5rem;
    }
    
    .features,
    .quickstart {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon img,
    .feature-icon i {
        width: 2.25rem;
        height: 2.25rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .step-code {
        padding: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 4px;
    }
    
    .step-code code {
        font-size: 0.65rem;
        line-height: 1.7;
        white-space: pre;
        display: block;
        min-width: min-content;
    }
    
    .copy-btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.7rem !important;
    }
    
    .docs-link {
        font-size: 0.9rem;
        padding: 0.875rem 1.5rem;
    }
    
    .footer {
        padding: 2.5rem 1rem 1.5rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-credit {
        font-size: 0.75rem;
    }
}
