/* ================================================== */
/* SHARED STYLES */
/* ================================================== */

section {
    padding: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.header {
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn.primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 2px solid transparent;
}

.btn.secondary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

u {
    text-decoration-color: var(--brand);
    text-decoration-thickness: 8px;
}

/* ================================================== */
/* #hero */
/* ================================================== */

#hero {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(224, 18, 128, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 105, 180, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(224, 18, 128, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

#hero .subtitle {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.85);
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

#hero .btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out 0.6s both;
}

#hero .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

#hero .floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

#hero .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

#hero .floating-element:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 2s;
}

#hero .floating-element:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

#hero .floating-element:nth-child(4) {
    top: 30%;
    left: 75%;
    animation-delay: 1s;
}

/* ================================================== */
/* #services */
/* ================================================== */

#services h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
}

#services .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#services .card {
    background: white;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#services .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#services .icon img {
    max-width: 100%;
    max-height: 100%;
}

#services .card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

#services .card p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ================================================== */
/* #about */
/* ================================================== */

#about {
    background-color: black;
    color: white;
    text-align: left;
}

#about h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: left;
}

#about h3 {
    font-size: 1.3rem;
    font-weight: 200;
    line-height: 1.6;
    color: white;
}

/* ================================================== */
/* #logo */
/* ================================================== */

#logo {
    background-color: var(--background-2);
}

#logo h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 2rem;
}

#logo .carousel {
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

#logo .track {
    display: flex;
    gap: 80px;
    animation: scroll 20s linear infinite;
}

#logo .track img {
    height: 80px;
    filter: grayscale(1) opacity(0.6);
    transition: filter 0.3s;
}

/* ================================================== */
/* #sam */
/* ================================================== */

#sam {
    min-height: calc(100vh - 80px);
    background-color: var(--background-1);
}

#sam .container {
    max-width: 900px;
}

#sam .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

#sam h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
}

#sam .subtitle {
    color: var(--text);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: 40px;
}

#sam .feature-image {
    height: 140%;
    width: 140%;
    margin-top: -120px;
    box-shadow: 0 0 20px rgba(224, 18, 128, 0.5), 0 0 40px rgba(224, 18, 128, 0.2);
    transform: translateY(50%);
}

/* ================================================== */
/* #packages */
/* ================================================== */

#packages {
    background-color: var(--background-2);
}

#packages .header h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

#packages .header h3 {
    font-style: italic;
    font-weight: 200;
    font-size: 1.2rem;
    margin-bottom: 80px;
}

#packages .pricing-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

#packages .pricing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    width: 31%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
}

#packages .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

#packages .pricing-card.featured {
    border: 2px solid var(--brand);
    box-shadow: 0 8px 40px rgba(224, 18, 128, 0.15);
}

#packages .pricing-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px auto;
}

#packages .pricing-card .tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e01280, #c0105e);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(224, 18, 128, 0.3);
}

#packages .pricing-card h2 {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
}

#packages .pricing-card .subtitle {
    color: #6b7280;
    margin: 0 0 32px 0;
    font-weight: 400;
    font-size: 1.1rem;
}

#packages .pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    color: #1f2937;
    line-height: 1;
}

#packages .pricing-card .period {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 4px 0 32px 0;
    font-weight: 500;
}

#packages .pricing-card .description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-top: auto;
    font-weight: 500;
    text-align: left;
}

/* ================================================== */
/* ANIMATIONS */
/* ================================================== */

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.3;
    }
}

@keyframes scroll {
    to { transform: translateX(-50%); }
}

/* ================================================== */
/* RESPONSIVE DESIGN */
/* ================================================== */

@media (max-width: 1168px) {
    #packages .pricing-card {
        width: 100%;
        padding: 2.5rem;
    }
    
    #packages .pricing-card.featured {
        order: -1;
    }
    
    #packages .pricing-card h2 {
        font-size: 1.5rem;
    }
    
    #packages .pricing-card .icon {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
    }    
}

@media (max-width: 768px) {
    section {
        padding: 40px;
    }
    
    #services .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #services .card {
        padding: 30px 20px;
    }
    
    #services .icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    #services .card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    #services .card p {
        font-size: 0.95rem;
    }
    
    #logo .track img {
        height: 60px;
    }
    
    #hero .btn-group {
        gap: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-width: 140px;
    }
    
    #sam .feature-image {
        display: none;
    }
    
    .header {
        margin-bottom: 40px;
    }
    
    #packages .header h3 {
        margin-bottom: 60px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    #services .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    #packages .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    #sam {
        min-height: 80vh;
        padding: 60px 20px;
        background-color: var(--brand);
    }

    #sam .content {
        text-align: left;
        align-items: flex-start;
    }

    #sam h1 {
        color: white;
        text-align: left;
    }

    #sam .subtitle {
        color: white;
        text-align: left;
    }

    #sam button {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
}