/* Global Design Tokens */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --accent: #f97316;
    /* Vibrant Orange for Wish List */
    --accent-hover: #ea580c;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

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

ul {
    list-style: none;
}

/* Typography Helpers */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
}

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

.btn-wishlist {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 1.75rem;
}

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

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

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    background: radial-gradient(circle at top right, #eff6ff 0%, transparent 50%),
        radial-gradient(circle at bottom left, #f5f3ff 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

.floating-card .icon {
    font-size: 1.5rem;
    background: #f0f9ff;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
}

/* Section Common */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.mission-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
}

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Pillars Section */
.pillars {
    background: white;
}

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

.pillar-card {
    background: var(--bg-light);
    border-radius: 2rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pillar-image {
    height: 240px;
    overflow: hidden;
}

.pillar-content {
    padding: 2.5rem;
    position: relative;
}

.pillar-icon-box {
    position: absolute;
    top: -2rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-md);
}

.pillar-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Wishlist Section */
.wishlist-container {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 3rem;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    color: white;
    align-items: center;
}

.wishlist-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.wishlist-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.btn-wishlist-large {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-wishlist-large:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.wishlist-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.wishlist-items .item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item span {
    color: white;
    font-weight: 600;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
}

.contact-methods {
    margin-top: 3rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.method .icon {
    width: 3.5rem;
    height: 3.5rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.contact-form-container {
    background: white;
    padding: 4rem;
    border-radius: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 2px solid #f1f5f9;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

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

.footer-brand .logo-text {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    text-align: center;
}

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

.creator-tag {
    margin-top: 0.5rem;
    font-weight: 500;
}

.creator-tag a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.creator-tag a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 600px;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 2.5rem 2.5rem 1.5rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
}

.close-modal {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.modal-body {
    padding: 0 2.5rem 2.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body p {
    margin: 1.5rem 0;
    color: var(--text-muted);
}

.wishlist-category {
    margin-bottom: 2rem;
}

.wishlist-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wishlist-category ul {
    list-style: none;
}

.wishlist-category li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.wishlist-category li::before {
    content: '→';
    margin-right: 0.75rem;
    color: var(--primary);
    font-weight: bold;
}

.modal-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.btn-wishlist-large {
    border: none;
    cursor: pointer;
}