:root {
    --blue: #061f68;
    --blue-light: #123caa;
    --gold: #f6a800;
    --gold-dark: #e48100;
    --white: #ffffff;
    --dark: #111827;
    --muted: #64748b;
    --soft: #f5f7fb;
    --border: #e5e7eb;
    --success: #059669;
    --danger: #dc2626;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--soft);
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    width: min(1180px, 92%);
    margin: auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-weight: 900;
    font-size: 24px;
    z-index: 1002;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    border: none;
    background: var(--blue);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    z-index: 1002;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 800;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--gold-dark);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(246, 168, 0, 0.35), transparent 30%),
        linear-gradient(135deg, var(--blue), #020617);
    color: white;
    padding: 90px 0;
}

.hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(246, 168, 0, 0.08);
    left: -250px;
    top: -280px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 55px;
    align-items: center;
}

.badge {
    display: inline-flex;
    background: rgba(246, 168, 0, 0.16);
    color: #ffd166;
    border: 1px solid rgba(246, 168, 0, 0.45);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 14px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.03;
    margin: 0;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #dbeafe;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.primary-btn,
.secondary-btn {
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.primary-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--blue);
}

.secondary-btn {
    background: white;
    color: var(--blue);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.stats div {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 18px;
    border-radius: 18px;
}

.stats strong {
    display: block;
    color: var(--gold);
    font-size: 26px;
}

.stats span {
    font-size: 13px;
    color: #dbeafe;
}

.hero-image-card {
    position: relative;
    padding: 12px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 34px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.hero-image-card img {
    width: 100%;
    max-height: 580px;
    object-fit: cover;
    border-radius: 26px;
    display: block;
}

.floating-box {
    position: absolute;
    z-index: 1;
    font-size: 46px;
    opacity: 0.55;
    animation: floatPackage 5s ease-in-out infinite;
}

.box-one {
    left: 6%;
    top: 22%;
}

.box-two {
    right: 8%;
    top: 14%;
    animation-delay: 1s;
}

.box-three {
    right: 40%;
    bottom: 10%;
    animation-delay: 2s;
}

@keyframes floatPackage {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-24px) rotate(6deg);
    }
}

.address-section {
    width: min(1180px, 92%);
    margin: auto;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-title span {
    color: var(--gold-dark);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin: 12px 0;
    color: var(--blue);
}

.section-title p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.generator-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 25px;
    align-items: stretch;
}

.form-card,
.instruction-card,
.result-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    border: 1px solid var(--border);
}

.form-card {
    padding: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    font-size: 16px;
    outline: none;
}

.form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(246,168,0,0.15);
}

.submit-btn {
    width: 100%;
    margin-top: 22px;
    padding: 17px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-1px);
}

.instruction-card {
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(246,168,0,0.10), transparent),
        white;
}

.instruction-card img {
    width: 110px;
    display: block;
    margin-bottom: 15px;
}

.instruction-card h3 {
    color: var(--blue);
    font-size: 26px;
    margin: 0 0 18px;
}

.step {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.step span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--blue);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 700;
}

.error-alert {
    background: #fee2e2;
    color: #991b1b;
}

.result-card {
    margin-top: 28px;
    padding: 30px;
    border: 2px solid rgba(5,150,105,0.35);
}

.result-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}

.result-header span {
    color: var(--muted);
    font-weight: 800;
}

.result-header h2 {
    margin: 5px 0 0;
    color: var(--success);
    font-size: 44px;
}

.copy-btn {
    border: none;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--success);
    color: white;
    font-weight: 900;
    cursor: pointer;
}

.result-card pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    background: #f8fafc;
    border: 1px solid #d1fae5;
    padding: 20px;
    border-radius: 18px;
    font-size: 17px;
    line-height: 1.7;
    max-width: 100%;
    overflow-x: auto;
}

.result-note {
    color: var(--muted);
    font-weight: 700;
}

.services {
    background:
        radial-gradient(circle at left top, rgba(246,168,0,0.22), transparent 30%),
        linear-gradient(135deg, var(--blue), #020617);
    padding: 80px 0;
}

.section-title.light h2,
.section-title.light p {
    color: white;
}

.service-grid {
    width: min(1180px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.16);
    color: white;
    padding: 30px;
    border-radius: 26px;
}

.service-card .icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 23px;
    margin: 0 0 12px;
    color: var(--gold);
}

.service-card p {
    line-height: 1.7;
    color: #dbeafe;
}

.gallery {
    width: min(1180px, 92%);
    margin: auto;
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-grid img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

.contact-section {
    width: min(1180px, 92%);
    margin: auto;
    padding: 0 0 80px;
}

.contact-card {
    background:
        radial-gradient(circle at top right, rgba(246,168,0,0.25), transparent 28%),
        linear-gradient(135deg, var(--blue), #020617);
    color: white;
    border-radius: 32px;
    padding: 35px;
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 25px;
    box-shadow: 0 25px 70px rgba(15,23,42,0.18);
}

.contact-card img {
    width: 105px;
    height: 105px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 8px;
}

.contact-card span {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card h2 {
    margin: 8px 0;
    font-size: 30px;
}

.contact-card p {
    margin: 0;
    color: #dbeafe;
    line-height: 1.7;
}

.contact-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--blue);
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 900;
    white-space: nowrap;
}

.footer {
    background: #020617;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.footer img {
    width: 100px;
    margin-bottom: 15px;
}

.footer h3 {
    margin: 0;
    font-size: 26px;
}

.footer p {
    color: #cbd5e1;
    max-width: 620px;
    margin: 14px auto;
    line-height: 1.7;
}

.footer a {
    color: var(--gold);
    font-weight: 900;
    display: inline-block;
    margin-bottom: 20px;
}

.footer small {
    display: block;
    color: #94a3b8;
}

/* Tablet */
@media (max-width: 1000px) {
    .hero-content,
    .generator-layout,
    .service-grid,
    .gallery-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-image-card {
        max-width: 650px;
        margin: auto;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-card {
        text-align: center;
    }

    .contact-card img {
        margin: auto;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .navbar {
        min-height: 74px;
    }

    .brand {
        font-size: 20px;
    }

    .brand img {
        width: 50px;
        height: 50px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        border: 1px solid var(--border);
        border-radius: 0 0 22px 22px;
        box-shadow: 0 20px 40px rgba(15,23,42,0.12);
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 14px 16px;
        border-radius: 14px;
        background: #f8fafc;
        color: var(--blue);
    }

    .nav-links a:hover {
        background: rgba(246,168,0,0.14);
    }

    .hero {
        padding: 48px 0 55px;
    }

    .hero-content {
        width: min(100%, 92%);
        gap: 35px;
    }

    .badge {
        font-size: 13px;
        padding: 9px 13px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: -0.8px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
        padding: 15px 18px;
    }

    .stats {
        grid-template-columns: 1fr;
        margin-top: 28px;
        gap: 12px;
    }

    .stats div {
        padding: 15px;
    }

    .hero-image-card {
        padding: 8px;
        border-radius: 24px;
    }

    .hero-image-card img {
        border-radius: 18px;
        max-height: 420px;
    }

    .floating-box {
        font-size: 34px;
        opacity: 0.28;
    }

    .box-one {
        left: 4%;
        top: 12%;
    }

    .box-two {
        right: 6%;
        top: 26%;
    }

    .box-three {
        right: 12%;
        bottom: 6%;
    }

    .address-section,
    .gallery {
        width: min(100%, 92%);
        padding: 55px 0;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .section-title h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .section-title p {
        font-size: 16px;
    }

    .form-card,
    .instruction-card,
    .result-card {
        border-radius: 22px;
    }

    .form-card,
    .instruction-card,
    .result-card {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group input {
        padding: 15px;
        border-radius: 14px;
        font-size: 16px;
    }

    .submit-btn {
        padding: 16px;
        border-radius: 14px;
    }

    .instruction-card img {
        width: 90px;
    }

    .instruction-card h3 {
        font-size: 23px;
    }

    .result-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .result-header h2 {
        font-size: 40px;
    }

    .copy-btn {
        width: 100%;
        border-radius: 14px;
    }

    .result-card pre {
        font-size: 15px;
        padding: 16px;
        border-radius: 14px;
        line-height: 1.65;
    }

    .services {
        padding: 55px 0;
    }

    .service-grid {
        width: min(100%, 92%);
        gap: 18px;
    }

    .service-card {
        padding: 24px;
        border-radius: 22px;
    }

    .gallery-grid {
        gap: 18px;
    }

    .gallery-grid img {
        height: 280px;
        border-radius: 22px;
    }

    .contact-section {
        width: min(100%, 92%);
        padding-bottom: 55px;
    }

    .contact-card {
        padding: 26px 22px;
        border-radius: 24px;
        gap: 18px;
    }

    .contact-card img {
        width: 90px;
        height: 90px;
    }

    .contact-card h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .footer {
        padding: 42px 20px;
    }

    .footer img {
        width: 85px;
    }

    .footer h3 {
        font-size: 23px;
    }
}

/* Small Mobile */
@media (max-width: 420px) {
    .navbar {
        width: 94%;
    }

    .brand span {
        font-size: 18px;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 15px;
    }

    .section-title h2 {
        font-size: 27px;
    }

    .form-card,
    .instruction-card,
    .result-card {
        padding: 18px;
    }

    .gallery-grid img {
        height: 245px;
    }

    .contact-card h2 {
        font-size: 23px;
    }
}