/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000;
    --bg-alt: #050505;
    --text: #fff;
    --text-dim: #777;
    --accent: #fff;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-card: rgba(10, 10, 10, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font: 'Sora', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Title */
.section-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 40px;
}

/* Hero */
.hero {
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    padding: 0 0 40px 48px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%) brightness(0.6);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1;
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #d5d4d3;
    letter-spacing: 0;
    margin-left: 14px;
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* About */
.about {
    padding: 60px 0;
    border-bottom: 1px solid var(--glass-border);
}

.about p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dim);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.about p.visible {
    opacity: 1;
    transform: translateY(0);
}

.about p strong {
    color: var(--text);
    font-weight: 600;
}

/* Projects Section */
.projects {
    padding: 60px 0;
    border-bottom: 1px solid var(--glass-border);
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
}

.projects-slider {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    align-items: center;
}

.project-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 260px;
}

.project-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-top: 24px;
}

/* iPhone Mockup */
.iphone {
    width: 260px;
    height: 534px;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-radius: 46px;
    padding: 14px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.iphone-notch {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 30px;
    background: #000;
    border-radius: 15px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Internal Phone Slider */
.phone-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.phone-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* Slider Controls */
.slider-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text);
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--text);
    width: 24px;
    border-radius: 4px;
}

/* Package Section */
.package {
    padding: 60px 0;
}

.package-card {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 32px;
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.package-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.package-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.detail-section ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
    padding-left: 0;
}

.detail-section ul li {
    font-size: 14px;
    color: var(--text-dim);
    padding: 0 0 0 20px;
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.detail-section ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-dim);
}



.detail-section .note {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 24px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.detail-section .note::before {
    content: '\f05a';
    /* Info Circle Icon from FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--text);
    font-size: 14px;
    margin-top: 2px;
}

/* Package Action */
.package-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 32px;
    border-left: 1px solid var(--glass-border);
    gap: 16px;
}

.delivery-label {
    font-size: 14px;
    color: var(--text-dim);
    display: block;
    margin-bottom: 4px;
}

.delivery-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.price-value {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
}

.buy-btn {
    display: block;
    width: 100%;
    background: var(--text);
    color: var(--bg);
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.secure {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

/* Contact Redesign */
.contact {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Removed decorative bloom for cleaner look */
.contact-card h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.contact-card p {
    color: var(--text-dim);
    font-size: 16px;
    margin-bottom: 32px;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text);
    color: var(--bg);
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-cta i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.contact-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.contact-cta:hover i {
    transform: translateX(4px);
}

.social-links {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-4px);
    border-color: var(--text);
}

/* Footer (Small Credits) */
.footer-credits {
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 900px) {
    .slider-wrapper {
        max-width: 100%;
        padding: 20px 10px;
    }
}

@media (max-width: 750px) {
    .iphone {
        width: 240px;
        height: 492px;
        border-radius: 40px;
    }

    .project-item {
        width: 240px;
    }

    .slider-btn {
        display: none !important;
    }

    .package-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .package-action {
        padding: 32px 0 0 0;
        border-left: none;
        border-top: 1px solid var(--glass-border);
        gap: 20px;
    }

    .price-value {
        font-size: 40px;
    }

    .secure {
        font-size: 11px;
        white-space: nowrap;
        /* Prevent wrapping highlighted in screenshot */
    }

    .contact {
        padding: 60px 16px;
    }

    .about,
    .projects,
    .package,
    .contact {
        padding: 30px 0;
    }

    .contact-card {
        padding: 32px 20px;
    }

    .contact-card h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .contact-card p {
        margin-bottom: 24px;
        font-size: 14px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .full-width {
        grid-column: span 1;
    }

    .form-control {
        padding: 12px 14px 12px 42px;
        font-size: 14px;
    }

    .input-icon {
        font-size: 0.95rem;
        left: 14px;
    }

    textarea.form-control {
        min-height: 120px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 1rem;
        margin-top: 16px;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::selection {
    background: var(--text);
    color: var(--bg);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

/* Contact Form Styles */
.contact-card {
    position: relative;
    z-index: 1;
    background: var(--glass-card);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 48px 40px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-card h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-align: center;
}

.contact-card p {
    color: var(--text-dim);
    font-size: 16px;
    margin-bottom: 32px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-left: 4px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.2s;
}

.textarea-icon {
    top: 20px;
    transform: none;
}

.form-control {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.02);
}

.form-control:focus+.input-icon {
    color: var(--text);
}

select.form-control {
    appearance: none;
    cursor: pointer;
}

select.form-control option {
    background: #000;
    color: var(--text);
    padding: 10px;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}

.full-width {
    grid-column: span 2;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.text-danger {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
    padding-left: 4px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 32px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .full-width {
        grid-column: span 1;
    }
}

/* Budget Flex Row */
.budget-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.budget-row .input-wrapper {
    flex: 1;
    width: 100%;
    min-width: 0;
    /* Prevents flex items from overflowing */
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .budget-row {
        flex-direction: column;
        gap: 16px;
    }
}