:root {
    /* Color Palette */
    --primary-color: #0070f3;
    --primary-hover: #0051a8;
    --secondary-color: #fafafa;
    --background-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-color: #10b981;
    --accent-hover: #059669;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xl) 0;
}

.mt-md {
    margin-top: var(--space-xl);
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

p {
    color: var(--text-muted);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 112, 243, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    transition: text-shadow var(--transition-normal);
}

.logo-mascot {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.5));
    animation: sway 3s infinite ease-in-out;
}

.logo-highlight {
    color: var(--primary-color);
    position: relative;
}

.logo:hover {
    text-shadow: 0 0 15px rgba(0, 112, 243, 0.6), 0 0 30px rgba(0, 112, 243, 0.3);
}

@keyframes sway {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-3px) rotate(2deg);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a:not(.btn) {
    color: var(--text-color);
    font-weight: 500;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    background: radial-gradient(circle at top left, #0e2a47 0%, var(--background-color) 40%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
}

.hero-title .highlight {
    background: linear-gradient(90deg, #0070f3, #00c6ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Mascot & Screen Animation (Hero) */
.mascot-animation-container {
    position: relative;
    width: 450px;
    height: 350px;
}

.screen-mockup {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 350px;
    height: 250px;
    background: #1e293b;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen-top-bar {
    height: 24px;
    background: #0f172a;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-top-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.screen-body {
    flex: 1;
    position: relative;
    background: #e2e8f0;
}

.website-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
}

/* Blank State */
.blank-state .wire-header {
    height: 15px;
    width: 100%;
    background: #cbd5e1;
    border-radius: 4px;
    margin-bottom: 20px;
}

.blank-state .wire-hero {
    height: 60px;
    width: 100%;
    background: #cbd5e1;
    border-radius: 4px;
    margin-bottom: 20px;
}

.blank-state .wire-cards {
    display: flex;
    gap: 10px;
}

.blank-state .wire-card {
    flex: 1;
    height: 80px;
    background: #cbd5e1;
    border-radius: 4px;
}

/* Colorful State (Revealed by light) */
.colorful-state {
    background: #ffffff;
    clip-path: circle(0% at 50% 50%);
    /* Initial clip */
    animation: revealContent 6s infinite ease-in-out;
    z-index: 2;
}

.colorful-state .color-header {
    height: 15px;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.color-logo {
    width: 40px;
    height: 100%;
    background: #0070f3;
    border-radius: 4px;
}

.color-nav {
    width: 100px;
    height: 100%;
    background: #93c5fd;
    border-radius: 4px;
}

.colorful-state .color-hero {
    height: 60px;
    width: 100%;
    background: #eff6ff;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #bfdbfe;
}

.color-title {
    width: 60%;
    height: 8px;
    background: #1e3a8a;
    border-radius: 4px;
    margin-bottom: 8px;
}

.color-subtitle {
    width: 40%;
    height: 6px;
    background: #60a5fa;
    border-radius: 4px;
    margin-bottom: 12px;
}

.color-btn {
    width: 50px;
    height: 12px;
    background: #0070f3;
    border-radius: 4px;
}

.colorful-state .color-cards {
    display: flex;
    gap: 10px;
}

.colorful-state .color-card {
    flex: 1;
    height: 80px;
    background: #dbeafe;
    border-radius: 4px;
    border: 1px solid #93c5fd;
}

/* Mascot Robot (Hero) */
.mascot-robot-wrapper {
    position: absolute;
    top: -68px;
    left: 10px;
    width: 200px;
    height: auto;
    z-index: 10;
    animation: moveLamp 6s infinite ease-in-out;
}

.mascot-robot-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 198, 255, 0.4));
}

.lamp-light {
    position: absolute;
    top: 93px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 400px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(0, 112, 243, 0));
    clip-path: polygon(29% 0, 65% 11%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
}

/* Animations */
@keyframes moveLamp {

    0%,
    10% {
        transform: translate(0, 0) rotate(-5deg);
    }

    45%,
    55% {
        transform: translate(240px, 10px) rotate(5deg);
    }

    90%,
    100% {
        transform: translate(0, 0) rotate(-5deg);
    }
}

@keyframes revealContent {

    0%,
    10% {
        clip-path: circle(0% at 30% 50%);
    }

    45%,
    55% {
        clip-path: circle(120% at 80% 50%);
    }

    90%,
    100% {
        clip-path: circle(0% at 30% 50%);
    }
}

@keyframes blink {

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

    98% {
        transform: scaleY(0.1);
    }
}

/* Packages Section */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.package-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 112, 243, 0.3);
}

.package-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 112, 243, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 5px;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
}

.features {
    list-style: none;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.package-card .btn {
    width: 100%;
}

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.hosting-card {
    background-color: var(--card-bg);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hosting-price {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: var(--space-sm) 0;
}

.hosting-card ul {
    list-style: none;
    font-size: 0.9rem;
}

.hosting-card ul li::before {
    content: "• ";
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.2), transparent);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    background: var(--card-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(0, 112, 243, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

/* Animations (Intersection Observer) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: #0b1120;
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

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

.footer-info h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links h4 {
    margin-bottom: var(--space-sm);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero-container {
        flex-direction: column;
        text-align: center;
        overflow: hidden;
        /* Ensure no internal x overflow */
    }

    .hero-title {
        font-size: 2.2rem;
        /* Reduced size so visual appears sooner */
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        transform: scale(0.65);
        /* Scaled down further for Pixel 7 */
        transform-origin: center top;
        margin-top: calc(var(--space-md) * -1);
        /* Pull up tighter to text */
        height: 220px;
        width: 100%;
        max-width: 100vw;
    }

    h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        padding: var(--space-lg);
    }
}