/* ========================================
   Responsive Styles - Mobile First
   ======================================== */

/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 30px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-description {
        font-size: 16px;
        margin-bottom: 50px;
    }
    
    /* Hero Section */
    .hero-grid {
        gap: 50px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .price-amount {
        font-size: 42px;
    }
    
    /* Process Grid */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Comparison */
    .comparison-grid {
        gap: 40px;
    }
    
    .comparison-image {
        width: 300px;
        height: 350px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 20px;
    }
    
    body {
        padding-top: 70px;
    }
    
    /* Real-time Notification */
    .realtime-notification {
        left: 10px;
        right: 10px;
        bottom: 100px;
        font-size: 13px;
    }
    
    /* Typography */
    .section-label {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 15px;
        margin-bottom: 40px;
    }
    
    /* Hero Section - Mobile First Layout */
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-trust-items {
        align-items: center;
        margin-bottom: 20px;
        gap: 4px;
    }
    
    .trust-item {
        justify-content: center;
    }
    
    .trust-text {
        font-size: 14px;
    }
    
    .hero-trust-text {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .hero-trust-text p {
        font-size: 14px;
    }
    
    .social-channels {
        margin-top: 25px;
    }
    
    .channels-label {
        font-size: 13px;
        text-align: center;
    }
    
    .channels-logos {
        justify-content: center;
    }
    
    .channel-logo {
        width: 36px;
        height: 36px;
    }
    
    /* Hero Visual */
    .hero-visual-scrolling {
        height: 500px;
        order: -1; /* Image first on mobile */
    }
    
    .showcase-card {
        width: 100%;
    }
    
    .card-header {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    /* CTA Button */
    .cta-button {
        width: 100%;
        font-size: 16px;
        padding: 16px 30px;
    }
    
    .cta-button.large {
        font-size: 18px;
        padding: 18px 40px;
    }
    
    /* Pricing Section */
    .discount-timer {
        padding: 20px;
    }
    
    .timer-value {
        font-size: 28px;
    }
    
    .timer-item {
        padding: 10px 12px;
        min-width: 60px;
    }
    
    .pricing-card {
        padding: 40px 25px;
    }
    
    /* SaaS Style Pricing - Mobile */
    .pricing-layout-two-column {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card-main {
        padding: 36px 24px;
    }
    
    .pricing-card-addon {
        padding: 30px 24px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .pricing-card-addon .service-title {
        font-size: 20px;
    }
    
    .price-display {
        font-size: 38px;
    }
    
    .pricing-card-addon .price-display {
        font-size: 30px;
    }
    
    .btn-primary-cta {
        font-size: 15px;
        padding: 14px 28px;
    }
    
    .popular-badge {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .package-title {
        font-size: 22px;
    }
    
    .price {
        font-size: 42px;
    }
    
    .guarantee-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .includes-list li {
        font-size: 15px;
        padding: 10px 0;
    }
    
    /* Gallery Section */
    .feed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    /* Testimonials */
    .video-carousel-container {
        padding: 0 20px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .video-card {
        flex: 0 0 calc(100% - 0px);
    }
    
    .video-play-overlay {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    /* Before/After Section */
    .comparison-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        font-size: 36px;
    }
    
    .comparison-image {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }
    
    /* Process Section */
    .process-tabs {
        flex-direction: column;
        width: 100%;
        padding: 12px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }
    
    .tab-content {
        padding: 24px;
    }
    
    .process-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-visual {
        position: relative;
        top: 0;
    }
    
    .visual-placeholder {
        padding: 40px 24px;
        font-size: 18px;
        min-height: 200px;
    }
    
    .process-text h3 {
        font-size: 20px;
    }
    
    .process-text p {
        font-size: 15px;
    }
    
    /* Results Section - New Design */
    .results-cards-new {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .result-card-new {
        padding: 32px 24px;
    }
    
    .result-card-new h3 {
        font-size: 22px;
    }
    
    .designer-mini {
        padding: 10px 14px;
    }
    
    .designer-mini .avatar {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .designer-mini .info strong {
        font-size: 13px;
    }
    
    .designer-mini .info span {
        font-size: 12px;
    }
    
    .problem-item {
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .chat-mockup {
        gap: 10px;
    }
    
    .message-avatar {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    
    .message-content {
        padding: 10px 14px;
    }
    
    .message-content strong {
        font-size: 12px;
    }
    
    .message-content p {
        font-size: 13px;
    }
    
    .calendar-mini {
        padding: 12px;
    }
    
    .calendar-header .month {
        font-size: 14px;
    }
    
    .calendar-grid .day {
        font-size: 12px;
    }
    
    .sub-badge {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    /* Support Bar */
    .support-bar .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .support-text {
        font-size: 16px;
        text-align: center;
    }
    
    .support-btn {
        width: 100%;
        padding: 14px 30px;
    }
    
    /* FAQ Section */
    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-left .section-label,
    .faq-left .section-title,
    .faq-left .section-description {
        text-align: center;
    }
    
    .faq-right {
        position: relative;
        top: 0;
        margin-top: 0;
        flex-direction: row;
    }
    
    .faq-cta-btn {
        flex: 1;
        padding: 25px 20px;
    }
    
    .faq-cta-icon {
        font-size: 32px;
    }
    
    .faq-cta-text {
        font-size: 16px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 16px 20px;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-card {
        padding: 30px 25px;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .process-title {
        font-size: 18px;
    }
    
    .process-description {
        font-size: 14px;
    }
    
    /* Results Section */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .result-item {
        padding: 20px;
    }
    
    .result-icon {
        font-size: 40px;
    }
    
    .result-item h3 {
        font-size: 20px;
    }
    
    .result-item p {
        font-size: 15px;
    }
    
    /* FAQ Section */
    .faq-question {
        padding: 20px 20px;
        font-size: 16px;
    }
    
    .faq-icon {
        font-size: 24px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p {
        font-size: 15px;
    }
    
    /* Final CTA Section */
    .final-cta-section {
        padding: 80px 0;
    }
    
    .final-cta-title {
        font-size: 36px;
    }
    
    .final-cta-subtitle {
        font-size: 18px;
    }
    
    /* Add bottom padding for sticky CTA */
    body {
        padding-bottom: 80px;
    }
    
    /* Payment Modal */
    .modal-content {
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 30px 25px 25px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .modal-price-current {
        font-size: 28px;
    }
    
    .payment-form {
        padding: 25px 25px 30px;
    }
    
    .form-section h4 {
        font-size: 16px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .submit-button {
        font-size: 16px;
        padding: 16px 25px;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
        --container-padding: 0 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .price-amount {
        font-size: 34px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .badge {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .package-title {
        font-size: 22px;
    }
    
    .price {
        font-size: 38px;
    }
    
    .final-cta-title {
        font-size: 30px;
    }
    
    .final-cta-subtitle {
        font-size: 16px;
    }
}

/* ========================================
   Landscape Mobile Optimization
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0 60px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .feed-card {
        height: 300px;
    }
    
    .comparison-image {
        height: 300px;
    }
}

/* ========================================
   Touch Device Optimizations
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .cta-button {
        min-height: 48px;
    }
    
    .faq-question {
        min-height: 60px;
    }
    
    /* Remove hover effects on touch devices */
    .example-card:hover,
    .testimonial-card:hover,
    .process-card:hover {
        transform: none;
    }
    
    /* Tap highlight */
    .cta-button,
    .faq-question {
        -webkit-tap-highlight-color: rgba(245, 101, 90, 0.2);
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .mobile-sticky-cta,
    .cta-button {
        display: none;
    }
    
    .section-title,
    .hero-title {
        page-break-after: avoid;
    }
    
    .example-card,
    .testimonial-card,
    .process-card {
        page-break-inside: avoid;
    }
}