@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Pacifico&display=swap");

* {
    font-family: "Cairo", sans-serif;
}

:root {
    --brand-gold: #d4a341;
    --brand-gold-dark: #b8872e;
    --brand-black: #000000;
    --brand-dark: #1a1a1a;
    --brand-gray: #2a2a2a;
}

.Pacifico{
    font-family: 'Pacifico', cursive;
}

.gradient-bg {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-gradient {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(212, 163, 65, 0.1) 0%,
        transparent 50%
    );
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 163, 65, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--brand-gold) 0%,
        var(--brand-gold-dark) 100%
    );
    color: #000;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(212, 163, 65, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(
        135deg,
        var(--brand-gold-dark) 0%,
        var(--brand-gold) 100%
    );
    box-shadow: 0 8px 30px rgba(212, 163, 65, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 163, 65, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(212, 163, 65, 0.1);
    border-color: var(--brand-gold);
}

.vertical-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent calc(100% / 12 - 1px),
        rgba(212, 163, 65, 0.08) calc(100% / 12 - 1px),
        rgba(212, 163, 65, 0.08) calc(100% / 12)
    );
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #182130;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.stats-counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--brand-gold);
}

.text-brand {
    color: var(--brand-gold);
}

.bg-brand {
    background: var(--brand-gold);
}

.border-brand {
    border-color: var(--brand-gold);
}

.ios-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.navbar{
    height: 100px;
}

.nav-blur {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Hero Title */
.hero-title {
    font-family: 'Pacifico', cursive;
    letter-spacing: 0.5px;
}

/* iOS-Style Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 163, 65, 0.15);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 163, 65, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(212, 163, 65, 0.2), rgba(212, 163, 65, 0.1));
    border: 1px solid rgba(212, 163, 65, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Cupertino Dialog Styles */
.cupertino-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.cupertino-backdrop.active {
    display: flex;
    opacity: 1;
}

.cupertino-dialog {
    width: 270px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    text-align: center;
    transform: scale(1.2);
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 163, 65, 0.2);
}

.cupertino-backdrop.active .cupertino-dialog {
    transform: scale(1);
}

.cupertino-content {
    padding: 24px 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cupertino-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 12px;
}

.cupertino-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.cupertino-text {
    font-size: 13px;
    color: var(--brand-gold);
}

.cupertino-actions {
    display: flex;
    flex-direction: row;
}

.cupertino-btn {
    flex: 1;
    padding: 12px 0;
    font-size: 17px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--brand-gold);
    font-weight: 400;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.cupertino-btn:last-child {
    border-right: none;
    font-weight: 600;
}

.cupertino-btn:hover {
    background: rgba(212, 163, 65, 0.1);
}

.cupertino-btn:active {
    background: rgba(212, 163, 65, 0.2);
}

/* Laptop Frame Styles */
.laptop-frame {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 12px 12px 0;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .laptop-frame {
        max-width: 400px;
    }
}

.laptop-screen {
    width: 100%;
    height: 288px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .laptop-screen {
        height: 192px;
    }
}

.laptop-base {
    width: 120%;
    height: 8px;
    background: linear-gradient(to bottom, #2d3748, #1a202c);
    margin: 0 -10%;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.laptop-notch {
    width: 40%;
    height: 4px;
    background: #4a5568;
    margin: 0 auto;
    border-radius: 0 0 4px 4px;
}

/* Slideshow Animation */
.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-image.active {
    opacity: 1;
}

/* Developer Section */
.developer-section {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(26, 26, 26, 0.92) 100%), url('../imgs/touche-cover.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.developer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 163, 65, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.developer-card {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.developer-card::before {
    /* content: ''; */
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 163, 65, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.developer-card:hover {
    transform: translateY(-8px);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 20px 60px rgba(212, 163, 65, 0.2);
}

.developer-card:hover::before {
    opacity: 1;
}

.developer-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 163, 65, 0.2);
    transition: all 0.3s ease;
}

.developer-card:hover .developer-logo {
    transform: scale(1.05);
    border-color: rgba(212, 163, 65, 0.4);
}

.developer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(212, 163, 65, 0.15), rgba(212, 163, 65, 0.08));
    border: 1px solid rgba(212, 163, 65, 0.3);
    border-radius: 12px;
    color: var(--brand-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.developer-link:hover {
    background: linear-gradient(135deg, rgba(212, 163, 65, 0.25), rgba(212, 163, 65, 0.15));
    border-color: var(--brand-gold);
    transform: translateX(4px);
}
