/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #ff6b5a;
    --primary-navy: #1a1a2e;
    --primary-blue: #4a90e2;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-navy);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ==========================================
   HERO SECTION - ULTRA MODERN DESIGN
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 50%, #1a1a2e 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 107, 90, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(74, 144, 226, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 107, 90, 0.08) 0%,
            transparent 70%
        );
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}
.title-line:nth-child(2) {
    animation-delay: 0.2s;
}
.title-line:nth-child(3) {
    animation-delay: 0.3s;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8577 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8577 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(255, 107, 90, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-primary svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff8577 0%, var(--primary-orange) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 90, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        var(--primary-orange),
        var(--primary-blue)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

.visual-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 0;
    left: 0;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: float 6s ease-in-out 2s infinite;
}

.card-3 {
    bottom: 0;
    left: 10%;
    animation: float 6s ease-in-out 4s infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    color: var(--white);
}

.card-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.3rem;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

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

/* ==========================================
   CONTENT SECTIONS - ENHANCED MODERN DESIGN
   ========================================== */
.content-section {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
}

.content-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 144, 226, 0.2),
        transparent
    );
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.section-reverse .section-grid {
    direction: rtl;
}

.section-reverse .section-content {
    direction: ltr;
}

/* Section Image - Enhanced */
.section-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.section-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 90, 0.1),
        rgba(74, 144, 226, 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.section-image:hover::before {
    opacity: 1;
}

.section-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.section-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(
        135deg,
        var(--primary-orange),
        var(--primary-blue)
    );
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    animation: pulse-soft 3s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.section-number {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
}

/* Section Content - Enhanced */
.section-content {
    padding: 1.5rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
}

.icon-wrapper::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: 22px;
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

.icon-wrapper:hover {
    transform: translateY(-5px) rotate(5deg) scale(1.05);
}

.icon-wrapper svg {
    color: var(--white);
    width: 36px;
    height: 36px;
}

.gradient-blue {
    background: linear-gradient(135deg, #4a90e2, #5da3f5);
}
.gradient-green {
    background: linear-gradient(135deg, #10b981, #34d399);
}
.gradient-purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}
.gradient-orange {
    background: linear-gradient(135deg, var(--primary-orange), #ff8577);
}
.gradient-red {
    background: linear-gradient(135deg, #ef4444, #f87171);
}
.gradient-teal {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
}
.gradient-indigo {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}
.gradient-pink {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    padding: 1rem 0 1rem 3rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--primary-navy);
    line-height: 1.7;
    transition: var(--transition);
}

.feature-list li:hover {
    padding-left: 3.5rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 32px;
    height: 32px;
    background: linear-gradient(
        135deg,
        var(--primary-orange),
        var(--primary-blue)
    );
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 90, 0.3);
    transition: var(--transition);
}

.feature-list li:hover::before {
    transform: scale(1.1) rotate(5deg);
}

.btn-modal {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-navy), #2d3561);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-modal::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s ease,
        height 0.6s ease;
}

.btn-modal:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 26, 46, 0.4);
}

/* ==========================================
   MODAL STYLES
   ========================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
    padding: 2rem 0;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    max-width: 900px;
    width: 90%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2.5rem;
    color: var(--white);
    background: var(--primary-orange);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: var(--shadow-md);
}

.modal-close:hover {
    background: var(--primary-navy);
    transform: rotate(90deg) scale(1.1);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-navy), #2d3561);
    color: var(--white);
    padding: 2.5rem 3rem;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 0;
}

.modal-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text {
    padding: 3rem;
}

.modal-text h3 {
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.modal-text h4 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin: 2rem 0 1rem;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-orange);
}

.modal-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.modal-list {
    list-style: none;
    margin: 1.5rem 0;
}

.modal-list li {
    padding: 1rem 0 1rem 3rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--primary-navy);
    border-bottom: 1px solid var(--medium-gray);
}

.modal-list li:last-child {
    border-bottom: none;
}

.modal-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 32px;
    height: 32px;
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--primary-orange)
    );
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.modal-list li strong {
    color: var(--primary-navy);
    display: block;
    margin-bottom: 0.3rem;
}

.modal-tip {
    background: linear-gradient(
        135deg,
        rgba(74, 144, 226, 0.1),
        rgba(255, 107, 90, 0.1)
    );
    padding: 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-orange);
}

.modal-tip strong {
    color: var(--primary-orange);
    font-size: 1.15rem;
    display: block;
    margin-bottom: 0.5rem;
}

.success-message {
    background: linear-gradient(135deg, var(--primary-navy), #2d3561);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

.success-message h4 {
    color: var(--white);
    border: none;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

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

/* Tablets */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 2rem;
        gap: 3rem;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .title-line {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.15rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .visual-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .hero-logo {
        width: 200px;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-reverse .section-grid {
        direction: ltr;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-image img {
        height: 350px;
    }

    .content-section {
        padding: 4rem 0;
    }

    .modal-content {
        width: 95%;
    }

    .modal-text {
        padding: 2rem;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-container {
        padding: 0 1.5rem;
        gap: 2rem;
    }

    .hero-visual {
        height: 350px;
    }

    .title-line {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .visual-card {
        padding: 1.2rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
    }

    .card-icon svg {
        width: 20px;
        height: 20px;
    }

    .card-content h4 {
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .section-grid {
        gap: 2rem;
    }

    .section-image img {
        height: 300px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 1.05rem;
    }

    .feature-list li {
        font-size: 1rem;
        padding: 0.8rem 0 0.8rem 2.5rem;
    }

    .feature-list li::before {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .icon-wrapper {
        width: 65px;
        height: 65px;
    }

    .icon-wrapper svg {
        width: 30px;
        height: 30px;
    }

    .modal {
        padding: 1rem 0;
    }

    .modal-header {
        padding: 2rem 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-image {
        height: 250px;
    }

    .modal-text {
        padding: 1.5rem;
    }

    .modal-text h3 {
        font-size: 1.5rem;
    }

    .modal-text h4 {
        font-size: 1.15rem;
        margin: 1.5rem 0 0.8rem;
    }

    .modal-text p {
        font-size: 1rem;
    }

    .modal-list li {
        padding: 0.8rem 0 0.8rem 2.5rem;
        font-size: 0.95rem;
    }

    .modal-list li::before {
        width: 28px;
        height: 28px;
    }

    .modal-close {
        right: 15px;
        top: 15px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-image {
        height: 30vh;
    }

    .hero-content {
        padding: 2rem 1.2rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-feature {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn-primary,
    .btn-modal {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}
